What is my docker host ip (Windows)?

On Docker for Windows, it wasn’t immediately obvious how to find out the host IP of docker. I tried docker-machine ip default to list the ip address of my docker host, most likely called ‘default’, but it doesn’t exist. In fact for whatever reason, when I run “docker-machine ls”, there are no host machines listed.

I checked ipconfig and see a DockerNAT virtual ethernet adapter at 10.0.75.1 (which is indeed my docker host ip). I can also see the docker host IP by right clicking on the Docker icon in the system tray, choosing settings, and network.

On Mac and Linux systems, “boot2docker ip” will suffice.

Leave a Reply

Your email address will not be published. Required fields are marked *