Skip Navigation

Reach local network from within docker container

I have a docker container as part of docker-compose that should reach other containers but as well a server running in my local network.
(the docker container is a monitoring service)

I know that in order to reach the local LAN I should configure the network mode to "host", is that correct? In that case am I still able to reach the other containers running in the default bridge network?

5
5 comments