docker install redis On CoreOS

docker install redis On CoreOS.

On CoreOS

Setup 1:

docker run --name redis-cli --interactive --tty --link redis:redis --rm redis sh -c 'exec redis-cli -h "$REDIS_PORT_6379_TCP_ADDR" -p "$REDIS_PORT_6379_TCP_PORT"'

Setup 2:

docker run -p 6379:6379 redis

Setup 3

docker ps

redis-cli -h 127.127.127.127 -p 6379