Skip to content

Instantly share code, notes, and snippets.

@stefanDeveloper
Created April 12, 2021 12:10
Show Gist options
  • Save stefanDeveloper/3c2ad8afec900d67d58f3e49ae11a362 to your computer and use it in GitHub Desktop.
Save stefanDeveloper/3c2ad8afec900d67d58f3e49ae11a362 to your computer and use it in GitHub Desktop.
docker run -d --name pihole -e ServerIP=XXXXXX -e TZ=Europe/Berlin -e WEBPASSWORD=XXXXXX -e DNS1=1.1.1.1 -e DNS2=1.0.0.1 -p 80:80 -p 53:53/tcp -p 53:53/udp -p 443:443 -v ~/pihole/:/etc/pihole/ --dns=127.0.0.1 --dns=1.1.1.1 --cap-add=NET_ADMIN --restart=unless-stopped pihole/pihole:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment