summaryrefslogtreecommitdiff
path: root/docs/source/markdown
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-24 09:30:23 -0500
committerGitHub <noreply@github.com>2022-01-24 09:30:23 -0500
commitb75d6baf074a61f2119b8619c86bd2fae1cb2833 (patch)
tree87dc47c914409c84368231c3e6ac9c9b937206e3 /docs/source/markdown
parentc96aa23adb9f1cb7e195d3585a2c78af7aab2ce5 (diff)
parentaff6a5af880636fdca8dbe323cef3e3f553f9e5c (diff)
downloadpodman-b75d6baf074a61f2119b8619c86bd2fae1cb2833.tar.gz
podman-b75d6baf074a61f2119b8619c86bd2fae1cb2833.tar.bz2
podman-b75d6baf074a61f2119b8619c86bd2fae1cb2833.zip
Merge pull request #12976 from patrycja-guzik/docs-labels
[CI:DOCS] Fix filter description and unify filters docs for containers/images prune
Diffstat (limited to 'docs/source/markdown')
-rw-r--r--docs/source/markdown/podman-container-prune.1.md6
-rw-r--r--docs/source/markdown/podman-image-prune.1.md12
2 files changed, 10 insertions, 8 deletions
diff --git a/docs/source/markdown/podman-container-prune.1.md b/docs/source/markdown/podman-container-prune.1.md
index 494500ca1..6e4aa35ff 100644
--- a/docs/source/markdown/podman-container-prune.1.md
+++ b/docs/source/markdown/podman-container-prune.1.md
@@ -20,12 +20,12 @@ Supported filters:
| 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. |
+| *until* | Only remove containers created before given timestamp. |
+| *label* | Only remove containers, 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 `label` *filter* accepts two formats. One is the `label`=*key*, `label`=*key*=*value*, which removes containers with the specified labels. The other format is the `label!`=*key*, or `label!`=*key*=*value*, which removes containers without the specified labels.
+The `label` *filter* accepts two formats. One is the `label`=*key* or `label`=*key*=*value*, which removes containers with the specified labels. The other format is the `label!`=*key* or `label!`=*key*=*value*, which removes containers without the specified labels.
#### **--force**, **-f**
diff --git a/docs/source/markdown/podman-image-prune.1.md b/docs/source/markdown/podman-image-prune.1.md
index 153e3bfe8..66edad207 100644
--- a/docs/source/markdown/podman-image-prune.1.md
+++ b/docs/source/markdown/podman-image-prune.1.md
@@ -25,16 +25,18 @@ Remove images even when they are used by external containers (e.g., build contai
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 images created before given timestamp. |
+| *label* | Only remove 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 images with the specified labels. The other format is the label!=... (label!=_key_ or label!=_key=value_), which removes images without the specified labels.
+The `label` *filter* accepts two formats. One is the `label`=*key* or `label`=*key*=*value*, which removes containers with the specified labels. The other format is the `label!`=*key* or `label!`=*key*=*value*, which removes containers without the specified labels.
#### **--force**, **-f**