2
Reach local network from within docker container
(alien.top)
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
You should be able to reach local network running in bridge mode, here's a test from my local server pinging the laptop, executed in a docker container
Host mode exposes the listening ports of the container as they were services on the machine, so iptables doesn't do any mangling of traffic where to send connection to port XY to which container.
Thanks, it must have been some other problem. I'm able to reach my local network from within the docker container. I even found that the docker container is using the host DNS configuration.
I configured pi.hole as DNS server in the host machine and the docker container is using it too.