tozd/redis

By tozd

Updated about 19 hours ago

Redis Docker image.

Image
0

6.0K

tozd/redis

https://gitlab.com/tozd/docker/redis

Available as:

Image inheritance

tozd/basetozd/dinittozd/postgresql

Tags

  • 3: Redis 3.2.13
  • 4: Redis 4.0.14
  • 5: Redis 5.0.14
  • 6: Redis 6.2.13
  • 7: Redis 7.0.12

Volumes

  • /var/log/redis: Log files when LOG_TO_STDOUT is not set to 1.
  • /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.

Variables

  • LOG_TO_STDOUT: If set to 1 output logs to stdout (retrievable using docker logs) instead of log volumes.

Ports

  • 6379/tcp: Port on which Redis listens.

Description

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.

GitHub mirror

There is also a read-only GitHub mirror available, if you need to fork the project there.

Docker Pull Command

docker pull tozd/redis