Describe the feature or improvement you are requesting
When using Docker Desktop on Windows with the WSL2 backend, we discovered that the directory /mnt/docker-desktop-disk/isocache/entries keeps every historical version of internal ISO files after each update.
This causes a silent, cumulative disk space leak that is not recoverable by standard Docker cleanup commands (docker system prune, etc.). The virtual disk (docker_data.vhdx) grows indefinitely.
Describe your motivation for this change / feature
- For users: Prevent unexplained, permanent disk space loss.
- For performance: Keep the system cleaner and more efficient.
- For maintainability: Avoid wasting user and support time on diagnosing a design flaw.
Describe what you think the solution should be
Modify the Docker Desktop update script so that it keeps only the current (or current + previous) version of each ISO (docker-desktop.iso and docker-wsl-cli.iso). All older versions should be automatically deleted during the update. This is a simple, focused fix that addresses the root cause.
Additional context
Describe the feature or improvement you are requesting
When using Docker Desktop on Windows with the WSL2 backend, we discovered that the directory
/mnt/docker-desktop-disk/isocache/entrieskeeps every historical version of internal ISO files after each update.This causes a silent, cumulative disk space leak that is not recoverable by standard Docker cleanup commands (
docker system prune, etc.). The virtual disk (docker_data.vhdx) grows indefinitely.Describe your motivation for this change / feature
Describe what you think the solution should be
Modify the Docker Desktop update script so that it keeps only the current (or current + previous) version of each ISO (
docker-desktop.isoanddocker-wsl-cli.iso). All older versions should be automatically deleted during the update. This is a simple, focused fix that addresses the root cause.Additional context