Skip to content

Instantly share code, notes, and snippets.

@kenny1har
Last active October 26, 2017 10:45
Show Gist options
  • Save kenny1har/f0c694bcfbd3df9c74d72b558920081a to your computer and use it in GitHub Desktop.
Save kenny1har/f0c694bcfbd3df9c74d72b558920081a to your computer and use it in GitHub Desktop.
docker run -d \
--name pihole \
-p 53:53/tcp -p 53:53/udp -p 82:80 \
-v "${DOCKER_CONFIGS}/pihole/:/etc/pihole/" \
-v "${DOCKER_CONFIGS}/dnsmasq.d/:/etc/dnsmasq.d/" \
-e ServerIP="127.0.0.1" \
-e WEBPASSWORD="" \
--restart=always \
diginc/pi-hole:alpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment