PiHole - SamuelLarkin/poulailler.IoT GitHub Wiki

PiHole

Docker

Running Pi-hole in Docker is Remarkably Easy!

docker volume create pihole
docker volume create dnsmasq

docker run \
  --name=pihole \
  -e TZ=America/New_York \
  -e WEBPASSWORD=YOURPASS \
  -e SERVERIP=YOUR.SERVER.IP \
  -v pihole:/etc/pihole \
  -v dnsmasq:/etc/dnsmasq.d \
  -p 80:80 \
  -p 53:53/tcp \
  -p 53:53/udp \
  --restart=unless-stopped \
pihole/pihole