Skip to content

Instantly share code, notes, and snippets.

@patrickemuller
Last active January 25, 2019 18:13
Show Gist options
  • Save patrickemuller/b433a8fbdb9566b26db67067de5fff30 to your computer and use it in GitHub Desktop.
Save patrickemuller/b433a8fbdb9566b26db67067de5fff30 to your computer and use it in GitHub Desktop.
Pi Hole docker command
docker create --name pihole -p 53:53/tcp -p 53:53/udp -p 67:67/udp -p 80:80 -p 443:443 -v "/host_mnt/c/Users/nas-server/Documents/pihole/:/etc/pihole/" -v "/host_mnt/c/Users/nas-server/Documents/dnsmasq.d/:/etc/dnsmasq.d/" -e ServerIP="MY_IP" -e WEBPASSWORD="MY_PASSWORD" --network=host --restart=always --cap-add=NET_ADMIN pihole/pihole:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment