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
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容