Why use network = host over manual port mapping?
#503
Replies: 1 comment
-
|
Because it allows the reverse proxy to address containers directly without doing any Docker networking gymnastic. Other benefits include being able to use "localhost" and being able to monitor the network. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to understand why setting the network to host is preferred in the instructions instead of a docker network and exposing ports, or creating a macvlan. From my understanding, exposing the full host to a container is counter to the benefits of docker's containerization.
Beta Was this translation helpful? Give feedback.
All reactions