mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
image prune: support removing external containers
Support removing external containers (e.g., build containers) during image prune. Fixes: #11472 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -1050,6 +1050,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
|
||||
// description: |
|
||||
// Remove all images not in use by containers, not just dangling ones
|
||||
// - in: query
|
||||
// name: external
|
||||
// default: false
|
||||
// type: boolean
|
||||
// description: |
|
||||
// Remove images even when they are used by external containers (e.g, by build containers)
|
||||
// - in: query
|
||||
// name: filters
|
||||
// type: string
|
||||
// description: |
|
||||
|
Reference in New Issue
Block a user