ERROR: Get “https://registry-1.docker.io/v2/“: dial tcp: lookup registry-1.docker.io on 127.0.0.53:5

ERROR: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io on 127.0.0.53:53: server misbehaving

解决办法:

vim /etc/resolv.conf

加入

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 223.5.5.5

你可能感兴趣的:(docker,容器,运维)