Docker Community Forums

Share and learn in the Docker community.

Access device in host network from container

Hi guys,

I’m running multiple containers (netdata, sabnzbd, sonarr, radarr, etc) with Docker Compose. Most of them use the default bridge network and 2 (plex and home assistant) are using the host network because they need to access the host network.

But now; I’d like to run Zoneminder in Docker and that container needs to access a network camera in the network of the host. That camera isn’t exposed to the internet. So first thought was running it also with the host network, but at the host there is a service running on port 80, Zoneminder is also running on port 80 so that’s not going to work.

How can I achieve this? In short; how to access the host network from a container without running with the host network?