Removes unused images to reclaim disk space. By default, only removes dangling images (images with no tags). UseDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apple/container/llms.txt
Use this file to discover all available pages before exploring further.
-a to remove all images not referenced by any container.
Usage
Options
Remove all unused images, not just dangling ones
Enable debug output
Examples
Behavior
Without--all:
- Only removes dangling images (untagged images)
- Preserves all tagged images
--all:
- Removes all images not referenced by any container (running or stopped)
- Includes both tagged and untagged images