boot2docker error : index.docker.io/v1/repositories/ dial tcp: lookup index.docker.io no answer from server

Posted by Matt Bryson on 17-Mar-2015 11:14:00
Find me on:

Had this little annoying error with docker the other day.

We are running boot2docker on OSX so we can use docker. But when trying to docker login or docker push we were getting this error

Put https://index.docker.io/v1/repositories/{username}/{project}/:
dial tcp: lookup index.docker.io on 192.168.0.1:53: no answer from server

This appears to be a DNS issue, and occurs when your DNS servers changes (move location for example) whilst the boot2docker VM was running.

To fix it, simply re start the boot2docker vm:

boot2docker restart

m

Topics: Deployment, Docker

About the author

Matt Bryson is an experienced systems engineer with over 15 years Development and Systems Operations experience.

NEW - Free eBook

Transforming your eDetail process. Click below to download the eBook.

New Call-to-action

Subscribe to Email Updates

Recent Posts