Docker for Windows cleanup

0 votes

I'm using docker for Windows to launch a MSSQL server. Everything is working fine except for the fact that my harddrive is now full. I've used all the cleanup commands that docker has, removing all images and containers:

docker kill $(docker ps -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q -f dangling=true)
docker rmi $(docker images -q)

I still have almost 130gb of data in c:\ProgramData\Docker\windowsfilter folder

How do I get rid of it?

Aug 15, 2018 in Docker by Hannah
• 18,570 points
2,779 views

1 answer to this question.

0 votes

Download docker-ci-zap.exe from https://github.com/jhowardmsft/docker-ci-zap and then run it in powershell with admin priviledge:

.\docker-ci-zap.exe -folder "C:\ProgramData\docker"

Reference: https://github.com/moby/moby/issues/26873

answered Aug 15, 2018 by Sophie may
• 10,590 points

Related Questions In Docker

0 votes
1 answer

How to make ‘Docker for windows’ use another VM besides MobylinuxVM?

docker-machine env can output the environment for cmd ...READ MORE

answered Aug 16, 2018 in Docker by Sophie may
• 10,590 points
869 views
0 votes
1 answer

Where can I find Docker log (driver json-file) location for ‘Docker for windows’?

For windows, the container storage is the ...READ MORE

answered Aug 16, 2018 in Docker by Sophie may
• 10,590 points
1,656 views
0 votes
1 answer
0 votes
1 answer

How to install telnet in Docker for Windows 10?

If you are trying to telnet in ...READ MORE

answered Aug 28, 2018 in Docker by Tyrion anex
• 8,690 points
2,543 views
+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,100 points
1,854 views
0 votes
1 answer

Error: Docker for Windows not working

The following worked for me: Download VirtualBox 5.03  Reboot ...READ MORE

answered Aug 14, 2018 in Docker by Sophie may
• 10,590 points
938 views
0 votes
1 answer

Error: “Docker for Windows: No hypervisor is present”

I faced the same error and this ...READ MORE

answered Aug 14, 2018 in Docker by Sophie may
• 10,590 points
481 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