boot2docker error : dial tcp: lookup 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

dial tcp: lookup on 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


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