summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-network-prune.1.md
diff options
context:
space:
mode:
authorPatrycja Guzik <patrycja.k.guzik@gmail.com>2022-01-25 22:20:48 +0100
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-27 07:13:06 -0500
commit63b1557a256a53e1729ecfc9bcadf10f67a90ba2 (patch)
tree52131f32a8e976c7b071109ee3652aa906c83773 /docs/source/markdown/podman-network-prune.1.md
parent09589fccfdd27478defc3e3e3827265d50fa9e33 (diff)
downloadpodman-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-network-prune.1.md')
-rw-r--r--docs/source/markdown/podman-network-prune.1.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/source/markdown/podman-network-prune.1.md b/docs/source/markdown/podman-network-prune.1.md
index d35decb1b..7696f9dc3 100644
--- a/docs/source/markdown/podman-network-prune.1.md
+++ b/docs/source/markdown/podman-network-prune.1.md
@@ -18,17 +18,20 @@ Do not prompt for confirmation
#### **--filter**
-Filter output based on conditions given.
-Multiple filters can be given with multiple uses of the --filter option.
-Filters with the same key work inclusive with the only exception being
-`label` which is exclusive. Filters with different keys always work exclusive.
+Provide filter values.
-Valid filters are listed below:
+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*.
-| **Filter** | **Description** |
-| ---------- | ------------------------------------------------------------------------------------- |
-| label | [Key] or [Key=Value] Label assigned to a network |
-| until | only remove networks created before given timestamp |
+Supported filters:
+
+| Filter | Description |
+| :----------------: | --------------------------------------------------------------------------- |
+| *until* | Only remove networks created before given timestamp. |
+| *label* | Only remove networks, 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* or `label`=*key*=*value*, which removes networks with the specified labels. The other format is the `label!`=*key* or `label!`=*key*=*value*, which removes networks without the specified labels.
## EXAMPLE
Prune networks