dockercompose up build fail

Posted lavin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dockercompose up build fail相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

docker-compose安装

js build up string

Build up java environment

microsoft build of openjdk啥东西?

Setting up a EDK II build environment on Windows and Linux:搭建Windows和Linux开发环境[2.2]

Jenkins打包后续:Shell脚本自动修改build号,并提交TestFlight