Add a container system prune subcommand to remove unused images, stopped containers, and dangling volumes in a single operation. This provides a convenient way for users to reclaim disk space.
container system prune # Remove stopped containers and dangling images
container system prune --all # Remove all unused images
container system prune --volumes --force # Include volumes, skip confirmation
Pruned containers:
abc123def456
789ghi012jkl
Pruned images:
sha256:abcd1234...
sha256:efgh5678...
Reclaimed 8.5GB in disk space
Feature or enhancement request details
Add a container system prune subcommand to remove unused images, stopped containers, and dangling volumes in a single operation. This provides a convenient way for users to reclaim disk space.
Some basic requirements:
Example usage:
Example output:
Some things to discuss
Code of Conduct