https://gitlab.com/tozd/docker/redis
Available as:
tozd/base
← tozd/dinit
← tozd/redis
3
: Redis 3.2.134
: Redis 4.0.145
: Redis 5.0.146
: Redis 6.2.187
: Redis 7.4.48
: Redis 8.0.2
/var/log/redis
: Log files whenLOG_TO_STDOUT
is not set to1
./etc/redis/conf.d
: You can put Redis config files with.conf
file extension here to configure the server./data
: Persist this volume to not lose state when Redis is configured with persistence.
LOG_TO_STDOUT
: If set to1
output logs to stdout (retrievable usingdocker logs
) instead of log volumes.
6379/tcp
: Port on which Redis listens.
Image providing Redis server.
Different Docker tags provide different Redis versions.
You should make sure you mount data volume (/data
) when you configure Redis with persistence
so that you do not lose data when you are recreating a container.
When LOG_TO_STDOUT
is set to 1
, Docker image logs output to stdout and stderr. All stdout output is JSON.
There is also a read-only GitHub mirror available, if you need to fork the project there.