Last active
February 20, 2019 17:28
-
-
Save omar-yassin/ba13fbe46a8e437ff5f90aafc5733cbd to your computer and use it in GitHub Desktop.
pi-hole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker create \ | |
--name pihole \ | |
-p 53:53/tcp -p 53:53/udp -p 80:80 \ | |
-v "/data/.docker_config/pihole/:/etc/pihole/" \ | |
-v "/data/.docker_config/dnsmasq.d/:/etc/dnsmasq.d/" \ | |
-e ServerIP="192.168.86.111" \ | |
-e --cap-add=NET_ADMIN \ | |
-e --dns=127.0.0.1 --dns=1.1.1.1 \ | |
-e WEBPASSWORD=xxxx \ | |
-e TZ=America/New_York \ | |
--restart=always \ | |
pihole/pihole:latest | |
# for testing | |
\--privileged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment