You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jkuruzovich Officially, the docker community simply says that --net=host is unsupported on Mac, it's considered a Linux only flag. See this issue - docker/for-mac#2716
Unofficially, the --net=host extension does not work on Mac the same way it does on Linux because on Mac, docker actually runs inside another VM running on your laptop. If you can get console access inside the VM then you should be able to access your ports. Alternatively, if you can identify the IP of the VM docker runs inside on Mac, you can try using that IP to access ports after a correct -P or --expose flag is passed to the docker cli.
When running locally on the mac the
--net=host
extension does not work. I've submitted the test but it didn't seem to work.docker run --net=host -it $IMAGE_NAME /home/crowdai/run.sh
I've tried to share the ports but that method didn't work.
The text was updated successfully, but these errors were encountered: