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
Network timed out while trying to connect to You may want to check your internet connection or if you are behind a proxy.

where am I going wrong?

Jul 27, 2018 in Docker by Hannah
• 18,570 points

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,370 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,040 points
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,090 points
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 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,140 points
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,370 points
+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,370 points