Docker DNS problem
Installed new version of the Docker, and suddenly was faced to a problem of not working DNS server. As usual I went to the /etc/default/docker, but found out that big changes occurred.
Now to enable DNS should go in the different way:
1. Find company supported DNS servers:
Now to enable DNS should go in the different way:
1. Find company supported DNS servers:
$ nmcli dev show | grep 'IP4.DNS'2. Update /etc/docker/daemon.json:
{
"dns": ["10.0.0.2", "8.8.8.8"]
}
More information here
Comments
Post a Comment