Network timed out while trying to connect to https index docker io

0 votes

I’m new to docker. I was experimenting things here and there. I tried to perform docker pull hello-world but its giving me the following error

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.
bash-3.2$ 

where am I going wrong?

Jul 27, 2018 in Docker by Hannah
• 18,520 points
2,696 views

1 answer to this question.

0 votes

This happened because docker virtual machine gets itself into a storage state. Restart your docker and then refresh the environment variables.

$ docker-machine restart default
$ eval $(docker-machine env default)
This should solve your problem..
answered Jul 27, 2018 by Kalgi
• 52,340 points

Related Questions In Docker

0 votes
1 answer

Error while trying to run an image - Docker

This error means that the container tries ...READ MORE

answered Aug 22, 2018 in Docker by Nilesh
• 7,060 points
14,113 views
0 votes
1 answer

How to connect a docker container to user-defined bridge network?

When you create a new container, you ...READ MORE

answered Jul 3, 2019 in Docker by Sirajul
• 59,190 points
4,319 views
0 votes
1 answer

Docker can't connect to docker daemon

The Post-installation steps for Linux documentation reveals the following ...READ MORE

answered Jul 18, 2018 in Docker by Kalgi
• 2,680 points
2,119 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,674 views
0 votes
1 answer

Docker unable to connect AWS EC2 cloud

Your command is not pointing to your ...READ MORE

answered Jul 16, 2018 in Docker by Kalgi
• 52,340 points
2,215 views
+2 votes
1 answer

Cannot connect to docker swarm service task

The id that command docker service ps <service> gives ...READ MORE

answered Sep 26, 2018 in Docker by Kalgi
• 52,340 points
2,553 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP