Pi-hole with Docker
10-25-2020
Language or Platform: Other
Code:
Create Volumes for Pi-Hole
docker volume create pihole
docker volume create pihole-dnsmasq
history -d $((HISTCMD-1)) && docker run \
--name=pihole \
-e TZ=America/Chicago \
-e WEBPASSWORD=YOURPASS \
-e SERVERIP=192.168.90.20 \
-v pihole:/etc/pihole \
-v pihole-dnsmasq:/etc/dnsmasq.d \
-p 80:80/tcp \
-p 443:443/tcp \
-p 53:53/tcp \
-p 53:53/udp \
--restart=unless-stopped \
pihole/pihole
Back