> This known issue for Docker and is discussed in detail here: https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/
Simple fix is to create the file /etc/docker/daemon.json
and insert:
{
"dns": ["10.0.0.2", "8.8.8.8"]
}
where 10.0.0.2 is the first DNS server your machine requests records from, and 8.8.8.8 is the fallback DNS server, google in this case.
Yes! It worked! Thank you!
Originally posted by @nirajkvinit in #270 (comment)
For those who still didn’t help, try adding Cloudflare-dns to the list
{
"dns": ["10.0.0.2", "8.8.8.8", "1.1.1.1"]
}
Yes! It worked! Thank you!
Originally posted by @nirajkvinit in #270 (comment)
For those who still didn’t help, try adding Cloudflare-dns to the list
{
"dns": ["10.0.0.2", "8.8.8.8", "1.1.1.1"]
}