Unfortunately, due to limtations in OSX, we’re unable to route traffic to containers, and from containers back to the host.
There have been numerous discussions in this forum related to this:
There are numerous references to “host” here: https://docs.docker.com/engine/reference/run/
Examples: --ipc=host, --uts=host, --net=host, --pid=host,
We’ve gone a long way to try and achieve this and we want to make sure that the experience for Mac users is the same as the experience on Linux.
What I’m trying to figure out exactly are:
- What is the “host” in Docker for Mac context-- the xhyve VM, or the actual OSX host? (It seems to refer to both, depending on the speaker.)
- What networking features of docker will not work as expected for someone coming from native docker on Linux “due to limtations in OSX”? What features will never work and what features are in the beta/planning stages but not yet available?
- Is a user of Docker for Mac supposed to have to plan around interacting with the xhyve VM in the same way that a Docker Toolbox user does? Or is it supposed to “feel” native, like docker on Linux?