Pi hole on ubuntu
I used official docker compose file from https://github.com/pi-hole/docker-pi-hole?tab=readme-ov-file#quick-start. But it did not start.
First I had to remove comments becase for some reason comments affect how yaml works (?). Then I had a port conflict:
Error response from daemon: driver failed programming external connectivity on endpoint pihole (f9784d6d8d41e03ad7ae19790368cdc86dee04143e55782b7cf871003f6f0c64): Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use
That I solved by following instructions in official repo of pi hole https://github.com/pi-hole/docker-pi-hole?tab=readme-ov-file#installing-on-ubuntu-or-fedora but it still didn't work.
It turns out that libvirt has its own dnsmasq server, that I disabled adding <dns enable="no"/> under <network> in the file /etc/libvirt/qemu/networks/default.xml.
- Previous: Missing replies in Mastodon
- Next: Installing Atuin