Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no answer from server #3603

Closed
vnit opened this issue Jan 15, 2014 · 10 comments
Closed

no answer from server #3603

vnit opened this issue Jan 15, 2014 · 10 comments

Comments

@vnit
Copy link

vnit commented Jan 15, 2014

Hi,

I have followed the instructions on http://docs.docker.io/en/latest/installation/ubuntulinux/#ubuntu-precise-12-04-lts-64-bit to install docker on ubuntu 12.04.3lts

but i am getting an issue after
$ sudo docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu' (tag: latest) locally
Pulling repository ubuntu
2014/01/15 22:37:58 Get https://index.docker.io/v1/repositories/ubuntu/images: dial tcp: lookup index.docker.io on 127.0.0.1:53: no answer from server

root@krishan:/home/krishan# docker version
Client version: 0.7.5
Go version (client): go1.2
Git commit (client): c348c04
Server version: 0.7.5
Git commit (server): c348c04
Go version (server): go1.2
Last stable version: 0.7.5

root@krishan:/home/krishan# uname -r
3.8.0-29-generic

i tried to resolve to add dns 8.8.8.8 to /etc/resolv.conf but its not working.
i also tried other options but i am not able to resolve.

i am not find out what is actually going.

Thanks !!!

@tianon
Copy link
Member

tianon commented Jan 16, 2014

This sounds to me like a local DNS issue. Did you try restarting the docker daemon after you changed resolv.conf?

@unclejack
Copy link
Contributor

This looks like a local DNS issue.
@vnit Can you let us know if you managed to fix this or if you looked into this further, please?

I'll close this issue because it looks like it's a problem with a particular environment. @vnit you can still comment on this issue.

@rissem
Copy link

rissem commented May 28, 2014

I recently encountered this message while using the boot2docker daemon on Mac OS X. Restarting it with boot2docker restart fixed it for me.

@dockberwal
Copy link

I also got the same message initially. simple command "$ docker -d " fixed it for me (start the server in daemon)

@marcboivin
Copy link

Restarting boot2docker fixed it for me. It was still trying to use the DNS server from my previous location. Maybe a cache or a variable because this DNS server was not set anywhere.

@dockberwal
Copy link

@marcboivin Setting the default DNS 8.8.8.8 ; 8.8.4.4 at Edit Connections | | Edit... | IPv4 Settings | Additional DNS servers then restart docker also fixed it for me.

@spiffytech
Copy link

Restarting the Docker service worked for me, too.

Is it possible to fix this so Docker responds correctly to DNS configuration changes?

@crosbymichael
Copy link
Contributor

What version are you running? This should be resolved in 1.2

@spiffytech
Copy link

1.0. Waiting on those Debian folks to roll out 1.2 to me. I'll assume the problem will go away after I get the upgrade.

@dockberwal
Copy link

@spiffytech you can use the latest version of Docker to resolve the same problem or restart the Docker server (Daemon) using the command $ sudo docker -d & . For more look at https://www.youtube.com/watch?v=18LTGgTlKwA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants