How to fix Netmaker Fatal: Unable to initialize iptables on host: lookup coredns: Try again
Problem:
While starting up a dockerized netmaker
instance, you see the following error message:
[netmaker] Fatal: Unable to initialize iptables on host: lookup coredns: Try again
Solution
In the docker-compose.yml
or other environment config for netmaker
, set
DNS_MODE: "off"
and comment out PORT_FORWARD_SERVICES
# PORT_FORWARD_SERVICES: "ssh,mq"
After that, you possibly need to remove the netmaker data directories (volumes). After doing a clean start, netmaker should work fine.