this post was submitted on 23 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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?

โ€‹

you are viewing a single comment's thread
view the rest of the comments
[โ€“] thekrautboy@alien.top 1 points 1 year ago

I know that in order to reach the local LAN I should configure the network mode to "host", is that correct?

No, that has nothing to do with that.

In that case am I still able to reach the other containers running in the default bridge network?

No, using network_mode host makes it more complicated to also reach other containers on the same Docker host.

Why not ask /r/Docker and read the Docker documentation?