Need help from a Windows Docker Desktop Guru

I really don't understand Docker, but, several years ago, I managed to install it on my Windows 10 Pro machine. All has been running well until a few days ago, I stupidly decided to upgrade Docker to the current version (4.71).

Then Docker started locking up every day or two. I finally saw an error message telling me I was out of disk space on drive C:. I ran my partition program and added another 25 GB to the C partition and things were working again until a few days later when my free space was very low again and crashes were happening again.

The file seems to be my virtual disk drive "docker_data.vhdx". It is currently 101.4 GB. I did some research and tried "Prune" and "Optimize-VHD" which got some space back for a day until the file size increased again.

I have the install file for Docker 4.46, but I don't know if I can just install it on top of 4.71. Even if I can, I doubt that the VHD would shrink in the process.

The Docker Desktop says that the 4 containers that are running are using about 1/2 a GB.

Can someone please tell me what I can try to get back a working system?

I also tried "Resize-VHD", but it kept giving me an error message saying there was something wrong with the header and it could not determine a safe size for a resize.

I found a backup save set from 4/18/2026 (before my Docker upgrade), where the VHD is 37 GB.

I can't figure out what was wrong, but I restored all Docker related folders to a point just before the Docker upgrade. I am now running Docker Version 4.59 and everything is back to normal. My free disk space has increased by 70 GB.

posted 3 years ago

posted 10 days ago