首页 > 其他 > 详细

dockercompose up build fail

时间:2017-05-13 09:35:59      阅读:478      评论:0      收藏:0      [点我收藏+]

docker https://auth.docker.io/token dial tcp lookup auth.docker.io i/o timeo

Error response from daemon: Get https://registry-1.docker.io/v2/library/alpine/manifests/latest21: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io12: dial tcp: lookup auth.docker.io on 192.168.xx.1:53: no such host

 

resolve method:   

This seems to be a problem with your DNS loading an older entry.

Is this on Mac or Windows?

Try:

    1. Click on the Docker CLI button or ( Docker Quickstart Terminal)
      技术分享
    2. Type in docker-machine ssh
    3. echo "nameserver 8.8.8.8" > /etc/resolv.conf

 

from:https://github.com/docker/kitematic/issues/718

 

dockercompose up build fail

原文:http://www.cnblogs.com/lavin/p/6848004.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!