Skip to content

Commit

Permalink
Improved README.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilwon committed Jan 14, 2014
1 parent 92f5cc1 commit e3a7e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ This repository contains **Dockerfile** of [Redis](http://redis.io/) for [Docker

#### Run `redis-server`

docker run -d -p 6379:6379 dockerfile/redis
docker run -d -name redis -p 6379:6379 dockerfile/redis

#### Run `redis-cli`

docker run -i -rm -t -entrypoint="redis-cli" dockerfile/redis
docker run -i -rm -t -entrypoint="bash" -link redis:redis dockerfile/redis -c 'redis-cli -h $REDIS_PORT_6379_TCP_ADDR'

0 comments on commit e3a7e21

Please sign in to comment.