-
Notifications
You must be signed in to change notification settings - Fork 586
Labels
storageissues and features associated with storage.issues and features associated with storage.
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
container image prune command claims to remove "unreferenced and dangling images" but actually only removes orphaned blobs from the content store. No complete images are ever deleted, even when there are many unused images consuming disk space. This is because the underlying ImageStore.prune() method doesn't support filtering by container references (see apple/containerization#417).
We should add support for removing unreferenced images, and add -a/--all flag to remove all unreferenced images (not just dangling ones).
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
storageissues and features associated with storage.issues and features associated with storage.