pi-hole docker Error: Neither IPv4 or IPv6 selected

Hello,
I have a problem with my Pi-hole (which im running on docker).
I tried out if Pi-hole works, and everything seems alright, but then I found out that there are no domains in the blacklist, its completely empty!
So I tried to reconfigure it.
After running the command: sudo docker exec -it pihole pihole -r
and after running it I got the Error: Neither IPv4 or IPv6 selected

Can someone help me with that?
Thanks

As stated in Pi-hole's Docker documentation:
Don't run pihole -r inside your container.

Pi-hole's container is meant to be used as is.
If you need to adjust your container settings to match your host or network, do so by specifying appropriate values for Docker Pi-hole's environment variables.

1 Like