docker missing var lib docker folder

0 votes

I was trying to do something, but I have accidentally deleted docker folder at var/lib/docker, and now I can not install another docker any more. What to do now? How can I fix this problem and install new docker.

sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
9bb5a5d4561a: Pulling fs layer 
docker: open /var/lib/docker/tmp/GetImageBlob974250330: no such file or directory.
Aug 1, 2018 in Docker by Hannah
• 18,570 points
6,518 views

1 answer to this question.

0 votes

Try restarting docker

systemctl restart docker

or

sudo service docker stop
sudo service docker start
answered Aug 1, 2018 by Kalgi
• 52,360 points
worked for me
Very glad to help :) Please do let us know if we could help you anything else.

Related Questions In Docker

0 votes
1 answer
+2 votes
2 answers
0 votes
1 answer
+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,435 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 32,900 views
+6 votes
4 answers

Error: Docker saying "bad file descriptor"

The solution was easy enough. Add these ...READ MORE

answered Mar 27, 2018 in Docker by DragonLord999
• 8,450 points
6,557 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