While trying to connect to https index docker io showing network timed out

0 votes

I installed Docker-Toolbox just now while following their webpage

I started with Docker QuickStart Terminal and see following 

docker is configured to use the default machine with IP For help getting started, check out the docs at https://docs.docker.com bash-3.2$

But when I try to perform docker pull hello-world, this is what I see

bash-3.2$ docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy.

Can anyone help me with this?

Oct 9, 2018 in DevOps & Agile by shubham
• 7,340 points

1 answer to this question.

0 votes

I think your problem can be fixed by using below commands as I was also having the same issue and it got resolved.

$ docker-machine restart default     
$ eval $(docker-machine env default) 

It appears that this is because of  Docker virtual machine getting itself into a strange state. This github issue  can be referred which will help you understand the solution.

I hope it would resolve your query.

answered Oct 9, 2018 by Damon Salvatore
• 5,980 points

Related Questions In DevOps & Agile

+5 votes
3 answers

Error while trying to install postgis extension with greenplum

Try re downloading the package and installing ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
0 votes
1 answer
+2 votes
1 answer
+1 vote
1 answer
0 votes
2 answers
0 votes
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP