码迷,mamicode.com
首页 > 其他好文 > 详细

dockercompose up build fail

时间:2017-05-13 09:58:22      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:img   dia   lan   use   rom   targe   ica   assets   err   

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

标签:img   dia   lan   use   rom   targe   ica   assets   err   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!