Pi-hole container not working

There are 2 things happening here.

1. Docker Desktop volume issue:

I think you have the same issue described in this topic:

There is an issue between sed (running inside the container) and the filesystem used to store the volumes used by Docker Desktop (MacOS and Windows), causing a permission issue:

Please read the topic above and change your compose file accordingly.

2. Wrong ports:

These ports won't work. You need to configure 53:53/tcp and 53:53/udp.
You also need to disable the service using port 53 on the host.

Your devices will send DNS queries only to port 53 (they have no idea there is a DNS server at port 5333).
If you use these ports, no devices will be able to use Pi-hole.

1 Like