user180146
user180146

Reputation: 1055

Docker/windowsfilter takes huge amount of diskspace

I am using docker for windows and I noticed my c drive was getting full. When i looked I noticed that there is 15 gb of data here: Docker/windowsfilter. I use docker sporadically so I do not need to keep any images or containers.

So I googled some and tried suggestions like docker system prune docker image prune and the same for containers etc.

This did not seem to work and I could not find another proper solution so in the end I tried an often mentioned tool docker-ci-zap however no luck here either

Finally I tried a factory reset of docker itself which as I understand should delete everything.

However Docker/windowsfilter is still 15 gb. How can I get rid of this data?

Upvotes: 7

Views: 5864

Answers (2)

Vignesh Nandakumar
Vignesh Nandakumar

Reputation: 119

I deleted the entire Docker folder inside ProgramData using the below trick, I hope this will also work for deleting the windowsfilter folder

Pre-requisite : Needs git bash to be installed

  1. Run git bash
  2. rm -rf windowsfilter\

I think the above workaround will also work with WSL terminal, but haven't tested myself

Upvotes: 0

Radim Göth
Radim Göth

Reputation: 177

Try https://github.com/moby/docker-ci-zap. Just download docker-ci-zap.exe from that repo and run it .\docker-ci-zap.exe -folder "C:\ProgramData\docker". Worked for me and it is much faster than reinstall Docker.

Upvotes: 7

Related Questions