报错:

docker Error response from daemon: Get https://registry-1.docker.io/v2/library/centos/manifests/late

解决方法:

第一步:通过dig @114.114.114.114 registry-1.docker.io找到可用IP

docker Error response from daemon: Get https://registry-1.docker.io/v2/library/centos/manifests/late

又报错

安装:

yum -y install bind-utils

docker Error response from daemon: Get https://registry-1.docker.io/v2/library/centos/manifests/late

第二步:尝试修改/etc/hosts强制docker.io相关的域名解析到其它可用IP

vim /etc/hosts

添加一个可用IP: 

52.22.201.61 registry-1.docker.io

保存之后重试:

docker Error response from daemon: Get https://registry-1.docker.io/v2/library/centos/manifests/late

成功了

相关文章: