smebberson/alpine-redis
An image for using redis, bundled with Alpine Linux and s6.
Yet another container for running nginx?
Yes, but this one is built from smebberson/alpine-base that contains s6 for process management. Small, fast and with s6.
Aren't you only supposed to run one process per container?
Hell no! The following are good examples of when multiple processes within one container might be necessary:
In all of these instances, there is one primary services and secondary support services. When the secondary support services fail, they should be automatically restarted. When the primary service fails, the container itself should restart.
1.0.0
, latest
(Dockerfile)See VERSIONS.md for image contents.
To use this image include FROM smebberson/alpine-redis
at the top of your Dockerfile
, or simply docker run --name redis smebberson/alpine-redis
.
Redis logs (access and error logs) are automatically streamed to stdout.
This container comes setup as follows:
To update the configuration:
redis-local.conf
, fill it with all of the config overrides that you require.Dockerfile
, copy this file to /etc/redis-local.conf
.Redis will start and load the config at /etc/redis.conf
, and then load /etc/redis-local.conf
and apply any overrides.
docker pull smebberson/alpine-redis