Hello everyone
my current setup is this:
pihole:
container_name: pihole
image: pihole/pihole:latest
environment:
TZ: 'Europe/Rome'
WEBPASSWORD: 'yaddayadda'
PIHOLE_DNS_: 1.1.1.1;1.0.0.1
DHCP_ACTIVE: "true"
DHCP_START: 192.168.1.3
DHCP_END: 192.168.1.254
DHCP_ROUTER: 192.168.1.1
DHCP_LEASETIME: 1
PIHOLE_DOMAIN: lan
network_mode: host
volumes:
- "./etc-pihole:/etc/pihole"
- "./etc-dnsmasq.d:/etc/dnsmasq.d"
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- "NET_ADMIN"
# Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
but when I go in the admin dashboard's "Pi-hole diagnosis" I get this warning interface eth0 does not currently exist.
The only solution I could look up to in this forum was something related to setting DELAY_STARTUP pihole-FTL.conf but it doesn't work for me.
The workaround I'm using now is appending interface=enp3s0 in 01-pihole.conf and making it immutable with chattr +i since it gets rewritten upon container's restart.
Any suggestion about how to solve this issue?