Skip to content

Commit

Permalink
corrected example run command
Browse files Browse the repository at this point in the history
Added "redis-server" into the example run command to use a custom config
file at launch
docker-library/official-images#858
  • Loading branch information
mut3 committed Jul 6, 2015
1 parent f9a0cb4 commit 2c41104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can create your own Dockerfile that adds a redis.conf from the context into

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 /usr/local/etc/redis/redis.conf
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.

Expand Down

0 comments on commit 2c41104

Please sign in to comment.