Sign inSign up

znznzn707/redis

By znznzn707

Updated about 6 years ago

redis with redis.conf

Image
0

890

znznzn707/redis repository overview

redis with redis.conf

Base Image

FROM redis:latest

ENV

REDIS_CONF /usr/local/etc/redis/redis.conf

VOLUME

  • /data
  • /usr/local/etc/redis/redis.conf

PORT

EXPOSE 6379

HOW TO USE

Example

docker run -d -p 6379:6379 -v /opt/redis/data:/data --name redis znznzn707/redis

If you want to use your redis.conf, use the command:
docker run -d -p 6379:6379 -v <DIR>/redis.conf:/usr/local/etc/redis/redis.conf -v /opt/redis/data:/data --name redis znznzn707/redis



Best of luck!

Tag summary

Content type

Image

Digest

Size

36.4 MB

Last updated

about 6 years ago

docker pull znznzn707/redis