Docker Community Forums

Share and learn in the Docker community.

Cannot start redis-cli


(Tasboes) #1

I start up a Redis server with the following command:
docker run --name some-redis -d redis redis-server --appendonly yes

Then I try to start up a redis command line client with the following command (from another cmd):

docker run -it --link some-redis:redis --rm redis redis-cli -h redis -p 6379

NOTHING HAPPENS.it just freezes!

I was able to start the redis client the first time successfully, but all my succeeding attempts fails.

I have tried restarting Docker and Windows, but no luck