Embedded Youtube - but Muted

Yes I’m pretty sure it is DNS related.

What I can’t work out is why the steps in that article aren’t working for you. The fact Docker won’t restart suggests that there’s an error in that file.

What is the exact content you’ve put in there?

Here, I’ve done the following:

sudo nano /etc/docker/daemon.json

In that file, I’ve put exactly

{
    "dns": ["192.168.0.1", "8.8.8.8"]
}

Then I restarted the Docker daemon

sudo service docker restart

Then I get the DNS server configured correctly:

docker run busybox nslookup google.com
alex@alex-desktop:~$ docker run busybox nslookup google.com
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
7520415ce762: Pull complete 
Digest: sha256:32f093055929dbc23dec4d03e09dfe971f5973a9ca5cf059cbfb644c206aa83f
Status: Downloaded newer image for busybox:latest
Server:    192.168.0.1
Address 1: 192.168.0.1

Name:      google.com
Address 1: 2a00:1450:4009:811::200e lhr25s15-in-x0e.1e100.net
Address 2: 172.217.23.14 lhr35s01-in-f14.1e100.net