Docker: MacOSX Expose Container ports to host machine
问题 In my job I working with docker and the option --net=host working like a charm forwarding the docker container ports to the machine. This allows me to adding grunt tasks that use certain ports by example: A taks for serving my coverage report in a port 9001 A local deployed version of my app served in the port 9000 A watch live reload the port 35729 For Unit testing runner use the 9876 port When I begin to use Docker in Mac, the first problem that i had was: The option --net=host don't work