It seems that after DSM 7.2 update for DS218, docker containers cannot access the internet and hence pihole+unbound container startup fails with DNS not available.
I modified the following files to directly use host networking instead, which fixes this problem. Just make sure nothing is running natively on ports 8000 and 5443. Also, don't forget to add exception to these ports in Control Panel->Security->Firewall. Don't handle DHCP here.
It seems that after DSM 7.2 update for DS218, docker containers cannot access the internet and hence pihole+unbound container startup fails with
DNS not available
.I modified the following files to directly use host networking instead, which fixes this problem. Just make sure nothing is running natively on ports
8000
and5443
. Also, don't forget to add exception to these ports inControl Panel->Security->Firewall
. Don't handle DHCP here.My
docker-compose.yaml
was:Create a
lighttpd.conf
file (only change made isserver.port = 8000
which should matchPIHOLE_WEBPORT
in your.env
file) in the same path:Web interface's (at port 8000) password needs to be set with
pihole -a -p
even thoughWEBPASSWORD
is set. Not sure why.