Add working pihole container

At least, it responds to DNS requests
This commit is contained in:
Eli Ribble 2024-07-20 04:05:05 +00:00
parent 0302155566
commit 2d76497a03
1 changed files with 18 additions and 0 deletions

18
quinn/containers/pihole.sh Executable file
View File

@ -0,0 +1,18 @@
#!/run/current-system/sw/bin/env bash
podman run -it --rm \
--env TZ=America/Phoenix \
--env DNSMASQ_LISTENING=all \
--name pihole \
-p 192.168.1.5:53:53/tcp \
-p 192.168.1.5:53:53/udp \
-p 192.168.1.5:67:67 \
-p 127.0.0.1:10000:80 \
-v /etc/pihole/config:/etc/pihole \
-v /etc/pihole/dnsmasq.d:/etc/dnsmasq.d \
docker.io/pihole/pihole:latest
#--add-host postgresql:192.168.1.1 \
#--conmon-pidfile /opt/run/gitea.pid \
#-v /etc/timezone:/etc/timezone:ro \
#-v /etc/localtime:/etc/localtime:ro \
#-d \
#--net slirp4netns:allow_host_loopback=true \