Skip to content

Docker network_mode: host - Why? #2734

Closed Answered by marcelveldt
AlbertoKarakoutev asked this question in Q&A
Discussion options

You must be logged in to vote

because ports are dynamically opened/used and we rely on things like multicast for discovery.
There is an alternative to using host networking (which is even better imo) which is using a bridge/macvlan network.

In any case, the MA container needs full L2 access to the network

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by OzGav
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants