Docker Community Forums

Share and learn in the Docker community.

[mac] Docker machine: images and ip


(Stefano) #1

Hello all, not sure if this falls under Machine or under mac, but:

I’ve recently installed docker for mac. It works, i can call any docker command and so on so for. The problem is when i want to access services that are exposed to the ip of the docker machine.

Basically, if i run docker just form the app the ip (192.168.99.100) does not expose the ports. I’ve to do the eval $(docker-machine env default)

but by doing so i’ve different images and different containers, looks like i’ve two docker installed or some sort of. is this normal?

What should I do and what’s the ideal setup? should i run via the app or via the eval command? and how can I have the machine working for the running instance without the eval command?