Score:0

Docker giving nameserver error upon docker pull

tz flag

I recently setup a new linux machine, running Ubuntu 22.04.1 LTS, I installed Docker on it, and Portainer to make viewing easier.

I am attempting to install a mysql image, however when running the command docker pull, either in portainer, or via CLI, I am met with the following error:

Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution

In my /etc/netplan config file, the nameservers are set correctly to 8.8.8.8 and 8.8.4.4, and if I try to set them in resolv.conf, they just default back to the original one upon save.

Any help would be much appreciated

Thanks in advance

Jaromanda X avatar
ru flag
what happens if you type `host registry-1.docker.io` on the command line?
Christian avatar
tz flag
@JaromandaX I get this ";; communications error to 127.0.0.1#53: connection refused"
Jaromanda X avatar
ru flag
does the system have internet access in general? does `resolve.conf` contain a warning that any changes will be lost or that the contents is `Generated by something or other`
Christian avatar
tz flag
Ive just noticed my resolv.conf file has become blank, and /run/resolvconf folder is missing? Not sure when this happened... @JaromandaX
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.