Docker for mac network issues

broken image
broken image
broken image
broken image

So my main question is, if there are plans to support this or if it is an impossible to overcome technical hurdle. I understand that the reason for this not working, is that this is due to the documented fact that there is no docker0 interface available on osx ( ).įor our workflow (allowing the host to access containers directly from the host, without port mapping) it is pretty crucial. curl - expected to get the apache page, but get a timeout.docker inspect httpd extract IPAddress from the output (e.g 172.17.0.2).driver.amd64-linux Steps to reproduce the behavior You can test running: docker run -rm :host-gateway ubuntu:18.04 cat /etc/hosts, then see if it works and show the ip in the hosts file (there should be a line like 172.17.0.1 host.docker. I can't access containers by network unless I map ports to 127.0.0.1. Only newer docker versions have the magical string host-gateway, that converts to the docker default bridge network ip (or host's virtual IP when using docker desktop).). I can access all containers by ip address from my OSX host directly.