mirror of
https://github.com/apple/container.git
synced 2026-07-13 13:07:06 +00:00
1c0e9888f3
- Fixes #901. ## Type of Change - [x] Bug fix - [x] New feature - [ ] Breaking change - [ ] Documentation update ## Motivation and Context Previously `container image prune` called `ImageStore.prune()` (renamed to `cleanupOrphanedBlobs()` in cz 0.15.0) which only removed orphaned content blobs and never actually removed images. This PR fixes that behavior so `container image prune` removes dangling images by default, and with `-a` removes all unused images, not just dangling ones. ## Testing - [x] Tested locally - [ ] Added/updated tests - [ ] Added/updated docs