I'm trying to run mysql server on a Docker (installed with Docker Toolbox for Mac) container and access it from my machine running OS X Yosemite. The documentation from the official repo does not explain how to connect from outside the docker host !!
I've created a container using the official repository as follows:
$ docker pull mysql
$ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest
$ docker inspect CONTAINER_ID
Then I get the ip address (172.17.0.1), but when I ping it I see time outs!!! What's the appropriate way to connect to the running mysql server?