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
• 6,480 points
16 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,000 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
• 6,900 points
39 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
• 6,900 points
71 views
0 votes
1 answer

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

You can try the following step: You have ...READ MORE

answered Sep 7, 2018 in Docker by Damon Salvatore
• 5,250 points
189 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,280 points
16 views
0 votes
1 answer
0 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
• 6,900 points
129 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.