Pi-Hole

Discussion about Docker
Locked
User avatar
Charlie_Croker
Posts: 105
Joined: 07 Oct 2020, 19:05

Pi-Hole

Post by Charlie_Croker »

Has anyone got Pi-hole to run? I set it up in literally 3 mins on QNAP Container station, but despite downloading and installing it, (and being able to access it by using NAS ip:32313, on Qnap I can set up virtual switches and use bridge mode. On the F2-422 I'm missing something with the networking.

Any advice gratefully accepted.
Ex Terramaster user. British citizen, Ex resident of KSA, USA and now in UAE.
User avatar
pristis
Posts: 8
Joined: 03 Dec 2021, 00:56

Re: Pi-Hole

Post by pristis »

I have Pi-hole from yesterday on Docker on F2-210. Works perfect. I start it with this and I change only ServerIP and TimeZone.

Code: Select all

docker run -d \
    --name pihole \
    -p 53:53/tcp -p 53:53/udp \
    -p 80:80 \
    -e TZ="America/Chicago" \
    -v "${PIHOLE_BASE}/etc-pihole:/etc/pihole" \
    -v "${PIHOLE_BASE}/etc-dnsmasq.d:/etc/dnsmasq.d" \
    --dns=127.0.0.1 --dns=1.1.1.1 \
    --restart=unless-stopped \
    --hostname pi.hole \
    -e VIRTUAL_HOST="pi.hole" \
    -e PROXY_LOCATION="pi.hole" \
    -e ServerIP="IP OF THE NAS" \
    pihole/pihole:latest
    
----
Martin St.
Locked