You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/markdown/podman-network-prune.1.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -18,17 +18,20 @@ Do not prompt for confirmation
18
18
19
19
#### **--filter**
20
20
21
-
Filter output based on conditions given.
22
-
Multiple filters can be given with multiple uses of the --filter option.
23
-
Filters with the same key work inclusive with the only exception being
24
-
`label` which is exclusive. Filters with different keys always work exclusive.
21
+
Provide filter values.
25
22
26
-
Valid filters are listed below:
23
+
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*.
|*until*| Only remove networks created before given timestamp. |
30
+
|*label*| Only remove networks, with (or without, in the case of label!=[...] is used) the specified labels. |
31
+
32
+
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.
33
+
34
+
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.
Copy file name to clipboardExpand all lines: docs/source/markdown/podman-system-prune.1.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -22,16 +22,18 @@ Recursively remove all unused pod, container, image and volume data (Maximum 50
22
22
23
23
Provide filter values.
24
24
25
-
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")
25
+
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*.
26
26
27
27
Supported filters:
28
28
29
-
-`until` (_timestamp_) - only remove containers and images created before given timestamp
30
-
-`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.
|*until*| Only remove containers and images created before given timestamp. |
32
+
|*label*| Only remove containers and images, with (or without, in the case of label!=[...] is used) the specified labels. |
31
33
32
-
The untilfilter can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the machine’s time.
34
+
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.
33
35
34
-
The labelfilter 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.
36
+
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.
| label |[Key] or [Key=Value] Label assigned to a volume |
29
-
| until | Only remove volumes created before given timestamp |
26
+
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*.
|*until*| Only remove volumes created before given timestamp. |
33
+
|*label*| Only remove volumes, with (or without, in the case of label!=[...] is used) the specified labels. |
34
+
35
+
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.
36
+
37
+
The `label`*filter* accepts two formats. One is the `label`=*key* or `label`=*key*=*value*, which removes volumes with the specified labels. The other format is the `label!`=*key* or `label!`=*key*=*value*, which removes volumes without the specified labels.
0 commit comments