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,570 points
1,667 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,360 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,050 points
11,609 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,230 points
3,013 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
1,072 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,467 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,360 points
1,317 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,360 points
1,306 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