Docker Community Forums

Share and learn in the Docker community.

Combining host and docker networks

(Richardpayne) #1

I have a media server container and I need to have it on both the host network for DLNA functionality but also on a docker network that handles all the web traffic between my website containers and the SSL proxy.

network_mode does not mix with the network option and I can’t seem to find a way to specify the host network as an external network in the networks section.

How do I do this?

(Richardpayne) #2

Can no one help with this?

(Dvohra) #3

Port forwarding could be used. Also refer

(Richardpayne) #4

Which ports would I need to map?