diff options
author | Patrycja Guzik <patrycja.k.guzik@gmail.com> | 2022-01-25 22:20:48 +0100 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-01-27 07:13:06 -0500 |
commit | 63b1557a256a53e1729ecfc9bcadf10f67a90ba2 (patch) | |
tree | 52131f32a8e976c7b071109ee3652aa906c83773 /docs/source/markdown/podman-system-prune.1.md | |
parent | 09589fccfdd27478defc3e3e3827265d50fa9e33 (diff) | |
download | podman-63b1557a256a53e1729ecfc9bcadf10f67a90ba2.tar.gz podman-63b1557a256a53e1729ecfc9bcadf10f67a90ba2.tar.bz2 podman-63b1557a256a53e1729ecfc9bcadf10f67a90ba2.zip |
Unify podman prune filter description: volumes, networks, system
follow up of #12976
Signed-off-by: Patrycja Guzik <patrycja.k.guzik@gmail.com>
Diffstat (limited to 'docs/source/markdown/podman-system-prune.1.md')
-rw-r--r-- | docs/source/markdown/podman-system-prune.1.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/source/markdown/podman-system-prune.1.md b/docs/source/markdown/podman-system-prune.1.md index d8b218db2..c00a3be78 100644 --- a/docs/source/markdown/podman-system-prune.1.md +++ b/docs/source/markdown/podman-system-prune.1.md @@ -22,16 +22,18 @@ Recursively remove all unused pod, container, image and volume data (Maximum 50 Provide filter values. -The --filter flag format is of “key=value”. If there is more than one filter, then pass multiple flags (e.g., --filter "foo=bar" --filter "bif=baz") +The *filters* argument format is of `key=value`. If there is more than one *filter*, then pass multiple OPTIONS: **--filter** *foo=bar* **--filter** *bif=baz*. Supported filters: -- `until` (_timestamp_) - only remove containers and images created before given timestamp -- `label` (label=_key_, label=_key=value_, label!=_key_, or label!=_key=value_) - only remove containers and images, with (or without, in case label!=... is used) the specified labels. +| Filter | Description | +| :----------------: | --------------------------------------------------------------------------- | +| *until* | Only remove containers and images created before given timestamp. | +| *label* | Only remove containers and images, with (or without, in the case of label!=[...] is used) the specified labels. | -The until filter can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the machine’s time. +The `until` *filter* can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the machine’s time. -The label filter accepts two formats. One is the label=... (label=_key_ or label=_key=value_), which removes containers and images with the specified labels. The other format is the label!=... (label!=_key_ or label!=_key=value_), which removes containers and images without the specified labels. +The `label` *filter* accepts two formats. One is the `label`=*key* or `label`=*key*=*value*, which removes containers and images with the specified labels. The other format is the `label!`=*key* or `label!`=*key*=*value*, which removes containers and images without the specified labels. #### **--force**, **-f** |