1. 程式人生 > >dockercompose up build fail

dockercompose up build fail

cloud dns res ons set -m library assets windows

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