How To upgrade Pi-hole On a Synology NAS Docker

How To upgrade Pi-hole On a Synology NAS Docker

Run this under SSH root, it will update the Pi-hole container on Synology Docker

Update the latest image for pi-hole

docker pull pihole/pihole 

Stop the Pi-hole container

docker stop pihole-pihole1 

Remove the Pi-hole container

docker rm pihole-pihole1

You can run all three command once

docker pull pihole/pihole && docker stop pihole-pihole1  && docker rm pihole-pihole1


Add the Pi-hole container with high privilege, auto-start, same docker host network, web password, web port, and default mount paths.

https://eric-poon.blogspot.com/2021/03/how-to-setup-pi-hole-on-synology-nas.html


docker run --name  pihole-pihole1 -v /volume1/docker/pihole/pihole:/etc/pihole -v /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d --network="host" -e TZ='America/New_York' -e WEBPASSWORD='password' -e DNSMASQ_LISTENING='local' -eWEB_PORT='8080' --privileged --restart always -d pihole/pihole

Comments

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass