美文网首页
docker 常见错误集合

docker 常见错误集合

作者: Snail127 | 来源:发表于2019-05-26 22:35 被阅读0次

    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 常见错误集合

          本文链接:https://www.haomeiwen.com/subject/jhkqtctx.html