Docker holding a lot of disk space

0 votes
I just checked that docker is using a lot of disk space on my system. I used the devicemapper to determine the space. How do I remove the redundant docker data lying around.
Aug 22, 2018 in Docker by shubham
• 7,340 points
1,120 views

1 answer to this question.

0 votes

Check your docker redundant containers and images that you're not using.

You can remove unused docker containers:

docker rm -v $(docker ps -a -q -f status=exited)

and unused docker images:

docker rmi $(docker images -q)
answered Aug 22, 2018 by ajs3033
• 7,300 points

Related Questions In Docker

0 votes
2 answers

How can I inspect the file system of a failed `docker build

Failed command is a build that has ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 7,060 points
3,131 views
0 votes
2 answers

Why is docker image eating up my disk space that is not used by docker

Move the /var/llib/docker directory. Assuming the /root directory has enough ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 7,060 points
1,774 views
0 votes
2 answers

How do I force Docker for a clean build of an image ?

You could try this inorder to clean ...READ MORE

answered Aug 6, 2019 in Docker by Sirajul
• 59,230 points
10,693 views
0 votes
1 answer

Virtual machine disk space in Docker for Windows beta

The MobyLinux Hyper-V machine is provisioned on ...READ MORE

answered Oct 8, 2018 in Docker by Tyrion anex
• 8,700 points
1,217 views
0 votes
2 answers
+2 votes
1 answer
0 votes
1 answer
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
• 7,060 points
2,528 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