Its based on a special xhyve stack which reuses your hosts network stack
First, use/install docker-for-mac instead of dockertoolbox or others.To solve those issues elegantly Expose ports to OSX localhost from the container The exposed ports of the container are not exposed to OSX host localhost, but rather OSX Docker-VM-ip. This VM has, of course, its own network stack and own IP on the host, and thats were your tools will have issues with. Your issue is most probably that you are using dockertoolbox or dhingy/dlite or anything else providing a full-fledged linux VM, which then hosts docker to run your container inside this VM.