docker 常见错误集合

docker 报错:

Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.hms.awsdev.infor.com, not registry-1.docker.io

通过dig @114.114.114.114 registry-1.docker.io找到可用IP
任选一个registry-1.docker.io地址配置host

example:
34.199.77.19 registry-1.docker.io

pull image 如果出现超时

docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/consul/manifests/latest: Get https://auth.docker.io/token?account=athzcc&scope=repository%3Alibrary%2Fconsul%3Apull&service=registry.docker.io: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).

可以配置国内镜像加速


image.png

你可能感兴趣的:(docker 常见错误集合)