Improvements for limactl prune, to not delete everything
Open
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Description
Can be good to keep _some_ images around, for instance:
* those that are "in use" by a currently running instance, even though the actual files have been copied from the cache
* those that are referenced by the current version of a template, while pruning the old and obsolete earlier versions
When not removing the entire cache, maybe also remove:
* temporary files (data.tmp) left by previous aborted downloads
* obsolete versions of nerdctl-full, or other cached images/packages
----
Partial implementations:
* #1409
Contributor guide
Assessment
This issue has not been assessed yet.