Beta9 VM ip address

I just wanted to point out that now that docker.local is no longer used, you can’t use tricks that rely on pinging that hostname in order to find out the IP address of the xhyve VM.
See release notes

In my case, using localhost alone isn’t good enough because I’ve got containers that are made to respond to specific hostnames. So I needed to setup /etc/hosts or DNSMasq to resolve names to the IP of the VM.

In my case, the VM now runs on en3 on my mac host.


$ifconfig en3 | grep inet
	inet6 fe80::6a5b:35ff:fe9a:d838%en3 prefixlen 64 scopeid 0x12 
	inet netmask 0xffffff00 broadcast

Then I setup /usr/local/etc/dnsmasq.conf to point to

Is there a more reliable way to do what I’m doing?

You can just use in dnsmasq address config. It just works for me.

Thank you! That was a “well duh” moment for me. I concur that this works just fine. Nice