# Docker PiHole Network Access

**URL:** <https://forums.docker.com/t/docker-pihole-network-access/81215>\
**Category:** Docker Desktop\
**Tags:** windows\
**Created:** [September 14, 2019, 8:34pm UTC](https://forums.docker.com/t/docker-pihole-network-access/81215 "2019-09-14T20:34:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayelwen](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/ayelwen/32/25004_2.png) [@ayelwen](https://forums.docker.com/u/ayelwen)\
**Post date:** [September 14, 2019, 8:34pm UTC](https://forums.docker.com/t/docker-pihole-network-access/81215/1 "2019-09-14T20:34:41Z")

</div>

So I followed A youtube instruction on setting up Docker then Pihole on Docker for Windows. It’s running in a linux container. I’ve gotten PiHole fully installed and setup… just one problem… The docker network/container is on a 10.##.##.## network while my home network is on 192.##.###.## and they can not communicate.  
The Pi website ( [https://docs.pi-hole.net/docker/DHCP/](https://docs.pi-hole.net/docker/DHCP/) ) says running “docker run --net=host” should fix this. Docker doesnt even recognize that as a command. Output: “docker run” requires at least 1 argument." I’ve tried searching but for hours but no solution yet.

 ![image](https://global.discourse-cdn.com/docker/original/3X/6/8/68cc9468b0c29aeda26956c88e38998eb3426adf.png) The scroll bar continues for a few pages. Can I please just get some simple help on how to make the container network accessible on my LAN? I want to put the PiHole IP in as my DNS on my router.

---

<div class="post-metadata">

**Author:** ![nahuels61](https://avatars.discourse-cdn.com/v4/letter/n/d6d6ee/32.png) [@nahuels61](https://forums.docker.com/u/nahuels61)\
**Post date:** [October 28, 2019, 4:13pm UTC](https://forums.docker.com/t/docker-pihole-network-access/81215/2 "2019-10-28T16:13:12Z")

</div>

i have the same problem and can’t find the solution

---

<div class="post-metadata">

**Author:** ![woodyiswood](https://avatars.discourse-cdn.com/v4/letter/w/b77776/32.png) [@woodyiswood](https://forums.docker.com/u/woodyiswood)\
**Post date:** [November 2, 2019, 4:29pm UTC](https://forums.docker.com/t/docker-pihole-network-access/81215/3 "2019-11-02T16:29:36Z")

</div>

I’m new to docker and just now learning but I believe the IP your looking for is the docker host IP. The 10.X.X.X is the IP for the docker environment kind of like in Hyper-V where you can have a NIC/virtual switch only for the VM inside the hyper-v host.  
Try going to [http://localhost/admin/](http://localhost/admin/) on the machine running the Pihole container.  
For the DNS filtering you’ll need the IP of your host I think.

---

<div class="post-metadata">

**Author:** ![naddel81](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@naddel81](https://forums.docker.com/u/naddel81)\
**Post date:** [September 23, 2020, 9:38am UTC](https://forums.docker.com/t/docker-pihole-network-access/81215/4 "2020-09-23T09:38:53Z")

</div>

same problem here. did you get it fixed? so sad that even a year later the problem still exists in this forum.
