diff options
author | Jelle van der Waa <jvanderwaa@redhat.com> | 2021-09-14 21:36:24 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-09-16 09:42:14 -0400 |
commit | c8cbd87fdcf7d999e10cd4cfc8b3cde35522eef1 (patch) | |
tree | a88b3dbd3bbc039f75081a66e718289fc3b373f2 /pkg | |
parent | 939db105c31f332c202d92182fe1aa9a790cdeb5 (diff) | |
download | podman-c8cbd87fdcf7d999e10cd4cfc8b3cde35522eef1.tar.gz podman-c8cbd87fdcf7d999e10cd4cfc8b3cde35522eef1.tar.bz2 podman-c8cbd87fdcf7d999e10cd4cfc8b3cde35522eef1.zip |
Document `all` query parameter for /libpod/images/prune
Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/server/register_images.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index 2630acac2..95981226c 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: | |