From c8cbd87fdcf7d999e10cd4cfc8b3cde35522eef1 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Tue, 14 Sep 2021 21:36:24 +0200 Subject: [PATCH] Document `all` query parameter for /libpod/images/prune Signed-off-by: Jelle van der Waa --- pkg/api/server/register_images.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index 2630acac25..95981226c2 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -1038,6 +1038,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // description: Remove images that are not being used by a container // parameters: // - in: query + // name: all + // default: false + // type: boolean + // description: | + // Remove all images not in use by containers, not just dangling ones + // - in: query // name: filters // type: string // description: |