Get access to xhyve Alpine VM ip and docker container ip from OSX

Expected behavior

I can ping the xhyve alpine linux vm by doing:
ping 192.168.56.2
I can ping any docker container from osx terminal like:
ping 172.17.0.2

Actual behavior

I can not ping the xhyve alpine linux vm (192.168.56.2) from osx terminal
i can not ping any docker container (172.18.0.2) from osx terminal

Information

OS X: version 10.11.5 (build: 15F28b)
Docker.app: version v1.11.1-beta12
Running diagnostic tests:
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160520-125449.tar.gz
Most specific failure is: No error was detected

Steps to reproduce the behavior

  1. ping 192.168.56.2
  2. ping 172.17.0.2
1 Like

Yep, Docker staff is aware of the situation. Please have a look at these threads for more information:

(Crazy spam filter preventing me from posting this because it is too similar. Why yes! It is similar, I am answering a question about the same underlying issue!)

1 Like