Skip to content

Instantly share code, notes, and snippets.

@andybe
Created October 10, 2020 17:38
Show Gist options
  • Save andybe/bdb673b252573f4dfa239af7bc85576a to your computer and use it in GitHub Desktop.
Save andybe/bdb673b252573f4dfa239af7bc85576a to your computer and use it in GitHub Desktop.
pihole docker local
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