Sign inSign up

marvinpan/redis

By marvinpan

Updated over 7 years ago

Official Images,see Description

Image
0

166

marvinpan/redis repository overview

You can create your own Dockerfile that adds a redis.conf from the context into /data/, like so.

FROM redis
COPY redis.conf /usr/local/etc/redis/redis.conf
CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]

Alternatively, you can specify something along the same lines with docker run options.

$ docker run -v /myredis/conf/redis.conf:/usr/local/etc/redis/redis.conf --name myredis redis redis-server /usr/local/etc/redis/redis.conf

Where /myredis/conf/ is a local directory containing your redis.conf file. Using this method means that there is no need for you to have a Dockerfile for your redis container.

Tag summary

Content type

Image

Digest

Size

15.5 MB

Last updated

over 7 years ago

docker pull marvinpan/redis:5.0.3