Docker Pihole DHCP ARP-cache injection failed



Hello everybody,

I have install my Docker Imager on pihole:latest and start it. DNS works. When I aktivate DHCP Server my Client became no Answer. In the Log Pihole says (XXX Change by Me :smile: ) ):

Oct 10 13:02:18 dnsmasq-dhcp[5778]: DHCPREQUEST(eth0) 192.168.XX.XX XX:XX:XX:XX:XX:XX 
Oct 10 13:02:18 dnsmasq-dhcp[5778]: DHCPNAK(eth0) 192.168.XX.XX XX:XX:XX:XX:XX:XX  address not available
Oct 10 13:02:22 dnsmasq-dhcp[5778]: DHCPDISCOVER(eth0) XX:XX:XX:XX:XX:XX  
Oct 10 13:02:22 dnsmasq-dhcp[5778]: DHCPOFFER(eth0) 192.168.XX.XX XX:XX:XX:XX:XX:XX  
Oct 10 13:02:22 dnsmasq-dhcp[5778]: ARP-cache injection failed: Operation not permitted

The IP is always the last IP of the given IP Range.

This Filesystems linked out:

docker/pihole/pihole > /etc/pihole rw
docker/pihole/dnsmasq.d > /etc/dnsmasq.d rw
docker/pihole/hosts> /etc/hosts

No Other Change.

What can I do ?




The solution is to run the Docker container as root in high priority, then it works.