当前位置: 首页 > 工具软件 > open-registry > 使用案例 >

Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker

牛景同
2023-12-01

I had similar issue on Ubuntu 16.04 and manage to solve it by adding more nameservers

You can try too.

Open config file sudo nano sudo nano /etc/resolv.conf and add the following under existing nameservers



nameserver 8.8.8.8

nameserver 8.8.4.4

run following commands to restart daemon and docker service

sudo systemctl daemon-reload

sudo systemctl restart docker

Now try to pull image you want docker pull sonarqube

Share
Improve this answer
Follow

 类似资料: