gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.5k stars 552 forks source link

coredns fails to start - boot loop #232

Closed TinyToadMilk closed 3 years ago

TinyToadMilk commented 3 years ago

On Running: "sed -i 's/REPLACE_MASTER_KEY//g' docker-compose.quickstart.yml" The containers all start running, except coredns, which enters a boot loop. "93545dbbe145 coredns/coredns "/coredns -conf /ubu…" About a minute ago Restarting (1) 12 seconds ago " Running "docker logs --tail 50 --follow --timestamps coredns", results in: "2021-08-16T06:40:10.810393260Z loading Caddyfile via flag: open /ubuntwo/dnsconfig/Corefile: no such file or directory"

afeiszli commented 3 years ago

CoreDNS will currently boot on repeat until a DNS entry is added, which should happen after the first network creation. Are you still getting this message after creating a network?

afeiszli commented 3 years ago

This has been fixed in a hotfix branch and will be in the next merge.

afeiszli commented 3 years ago

Fixed in latest release: Fixed in https://github.com/gravitl/netmaker/releases/tag/latest