On my MBP, with latest boot2docker
installed, I have the following Dockerfile
:
FROM redis:3.0.3
CMD redis-server --bind 0.0.0.0
I run the following:
docker build .
docker run --rm ba09b207db42 # where ba09b207db42 is the container id returned by the build command
Then I run:
redis-cli -h `boot2docker ip`
And I get the error:
Could not connect to Redis at 192.168.59.103:6379: Connection refused
What am I missing?