Dockerized PiHole with network interface exposed to LAN?

I'm running a Debian machine as my server, utilizing NingX to serve my groupware, blog, nextcloud etc. on Port 80 and 443 - so I have to find a way to get Pi-hole running for my LAN around this problem. So far I have both NginX and lighttpd running on that machine - but this way Pi-hole can't serve its anwsers on port 80 and 443 as it's meant to be.
Now I came across the docker image - but I'm not familiar with docker, so I thought maybe someone already uses this setup?

My idea was to fire up the docker image, assign it an IP from my LAN (preferably my DHCP from my DSL router) and thus have a virtual host in my LAN that does nothing but acting as the local nameserver and showing some nice stats in the admin interface.

Is this idea possible at all? Anyone have it running already? What's the docker command for that?

Or is there a much easier solution?

Any hints and advice greatly appreciated :smiley:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.