Hello there,
I'm trying to setup pihole on my rootless docker setup. It's working beside of the clients which are not resolved. The only one ip shown is the gateway of the docker default bridge network.
I've tried adding some additional capabilities listed here but sadly I'm still without any success.
It's a clean debian bullseye setup with only rootless docker, docker compose plugin and pihole installed.
Just to add pihole on docker with root can resolve clients. I'm using pihole together with fritzbox and I do use pihole as my dns server. I actually also don't want to use my pihole as dhcp server - at least for now.
docker-compose.yml
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:2023.03.1
environment:
WEBPASSWORD: abcdef
TZ: 'Europe/Berlin'
ports:
- "53:53/tcp"
- "53:53/udp"
- "8080:80/tcp"\
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- CAP_NET_BIND_SERVICE
- CAP_NET_RAW
- NET_ADMIN # only for dhcp
restart: unless-stopped
debug_log.txt (24.0 KB)
Docker version 24.0.1, build 6802122
Docker Compose version v2.18.1
Any advices appreciated, thank you in advance