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
• 14,070 points
167 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
• 40,420 points
worked for me
Very glad to help :) Please do let us know if we could help you anything else.

Related Questions In Docker

+2 votes
6 answers
0 votes
2 answers

Can't access apache karaf docker container

To access karaf shell directly you can ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 6,880 points
191 views
0 votes
1 answer

build an J2EE application with docker

I would suggest you to use volume ...READ MORE

answered May 1, 2018 in Docker by shubham
• 6,890 points
44 views
+2 votes
6 answers

If conditional in docker file

You can use the test command RUN test ...READ MORE

answered Dec 10, 2018 in Docker by Shushant
13,532 views
0 votes
1 answer
0 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
• 56,520 points
149 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,110 points

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

Error: Docker saying "bad file descriptor"

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

answered Mar 26, 2018 in Docker by DragonLord999
• 8,380 points
943 views