tmpnb icon indicating copy to clipboard operation
tmpnb copied to clipboard

--net=host an anti-pattern on "native" Docker for OS X

Open rgbkrk opened this issue 8 years ago • 2 comments

See https://forums.docker.com/t/should-docker-run-net-host-work/14215

We need to expose the port for the proxy directly while having access to the rest of the containers.

rgbkrk avatar Aug 09 '16 17:08 rgbkrk

I'm just going to mention macOS here for anyone trying to search that instead of OS X.

Edit: Incidentally, do you know of any work arounds for running on macOS? I'm unable to get the ip address of the Docker for Mac VM (docker-machine ls, seems to no longer work for Mac).

cloutiertyler avatar Jul 11 '17 00:07 cloutiertyler

It looks like this was fixed in #258, no?

I'm still riding the struggle bus however. Getting a whole bunch of this on start up.

tmpnb_1        | [W 170824 23:58:17 spawnpool:330] Socket error on boot: [Errno 111] Connection refused
tmpnb_1        | [W 170824 23:58:17 spawnpool:330] Socket error on boot: [Errno 111] Connection refused
tmpnb_1        | [W 170824 23:58:17 spawnpool:330] Socket error on boot: [Errno 111] Connection refused
tmpnb_1        | [W 170824 23:58:17 spawnpool:330] Socket error on boot: [Errno 111] Connection refused
tmpnb_1        | [W 170824 23:58:17 spawnpool:330] Socket error on boot: [Errno 111] Connection refused
tmpnb_1        | [W 170824 23:58:17 spawnpool:330] Socket error on boot: [Errno 111] Connection refused```

cloutiertyler avatar Aug 25 '17 00:08 cloutiertyler