This is a PiHole image that uses DNS over HTTPS client cloudflared to safely query the upstream Cloudflare DNS. DNS over HTTPS ensures safe communication between DNS resolvers and prevents malicious injections.
Check out the article.
-
Build the image:
docker build -t pihole .
-
Run the container:
docker run -d -p "53:53" -p "67:67/udp" -p "53:53/udp" -e "WEBPASSWORD=yourwebpass" pihole
Simply run:
docker-compose up -d