Official way to get the VM IP address?

I have a script that works with boot2docker, docker-machine and Docker for Windows. After upgrading from an early beta, it stopped working for Docker for Windows.

The script relies on being able to get the IP address of the Hyper-V VM. Previously I could do that by pinging a “docker” host. But with version 1.12.0 that doesn’t work anymore.

I have also tried to run Get-VMNetworkAdapter -vmname MobyLinuxVM unsuccessfully. It works in an elevated PS session, but that’s not an option for me.

Is there an official way to get the IP address of the VM?

Nevermind. 127.0.0.1 worked, just like Docker for Mac. :slight_smile: