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?

  • isleepbad@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    No that’s not correct. You don’t need to be in host mode to access the local LAN.

    • maximus459@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      This, mnn… but if you want to know who a reply is from you should be on the hike Ian right?