Open arun-vasudevan-nair opened 7 months ago
have you enabled the containerd image store (Under Settings > General)? When you activate this feature you have a second image store, so you may (de)activate to switch to the other store and verify if you have images there.
I encounter the same with v4.28.0 on a Mac mini M1.
Just pull some heavy images and delete them afterwards. 👉 If you repeat this multiple times, the [VMs] disk[^1] is full at some point.
[^1]: In my case 64 GB
docker system df
reports something different, though:
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 12 12 27.3GB 5.749GB (21%)
Containers 13 4 575.3kB 0B (0%)
Local Volumes 1 1 48.77MB 0B (0%)
Build Cache 0 0 0B 0B
This happens both using virtualization framework and QEMU for creating and managing Docker Desktop Linux VM.
@bsousaa I Use containerd for pulling and storing images
now.
The containerd
image store is not affected by this issue.
so you may (de)activate to switch to the other store and verify if you have images there.
I had to execute Clean / Purge Data
multiple times with Docker Desktop versions ≥ 4.27.1 over the past months to start from scratch - i.e. with a new [Docker Machine] Linux VM.
@bsousaa IMHO docker image rm
(or any command invoking it) does not reclaim space when using the default image store with Docker Desktop versions ≥ 4.27.1.
I was mistaken: The containerd
image store is also affected by this issue.
@benz0li is it possible that you are deleting the images in one store but not the other? Basically, you have now the classic image store plus the containerd one - but only one is activated at a time. So when you are pruning your images you are cleaning one of the stores, and you have to switch to the other one to prune and reclaim your entire disk space.
Is this the case?
@benz0li is it possible that you are deleting the images in one store but not the other?
@bsousaa No. I always Clean / Purge Data
before [and also after] switching the image store and then stay with that image store.
At some point, the [Docker Machine] Linux VM's disk is full and I have to Clean / Purge Data
again.
Description
Disk Usage shows 5.60 GB available of 196.53 GB.
I deleted all images except moby/buildkit which is around 250MB.
Still no disk space is freed.
Reproduce
Expected behavior
I should get back at least 50 GB, but currently I only have around 5 GB left.
docker version
docker info
Diagnostics ID
D4A6E2E8-9D29-4913-B90C-A41CF33B1B1D/20240214095630
Additional Info
No response