Pi-hole 4 in Docker on ReadyNAS
I've upgraded Pi-hole do 4.0 version:
docker run -d --name pihole-4.0.0-1 \ --dns 127.0.0.1 --dns 1.1.1.1 \ -e ServerIP=192.168.1.28 -e DNS1=192.168.1.4 \ -e WEBPASSWORD=secret \ -p 8018:80 -p 53:53 -p 53:53/udp \ --restart=unless-stopped \ pihole/pihole:4.0.0-1
as you can see I use new name (pihole/pihole), set power policy and additional --dns option - it's necessary.
Last time I've to manually edit /etc/resolve.conf inside container - this is simple workaround.
Komentarze
Log in or create a user account to comment.