Created
October 10, 2020 17:38
-
-
Save andybe/bdb673b252573f4dfa239af7bc85576a to your computer and use it in GitHub Desktop.
pihole docker local
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 run \ | |
--name=pihole \ | |
-e TZ=Europe/Amsterdam \ | |
-e WEBPASSWORD=password \ | |
-e SERVERIP=127.0.0.1 \ | |
-v pihole:/etc/pihole \ | |
-v dnsmasq:/etc/dnsmasq.d \ | |
-p 127.0.0.1:8082:80 \ | |
-p 127.0.0.1:53:53/tcp \ | |
-p 127.0.0.1:53:53/udp \ | |
--restart=unless-stopped \ | |
pihole/pihole |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment