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/options/filter.volume-ls.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,13 @@
5
5
#### **--filter**, **-f**=*filter*
6
6
7
7
Filter what volumes are shown in the output.
8
-
Multiple filters can be given with multiple uses of the --filter flag.
9
-
Filters with the same key work inclusive, with the only exception being `label`
10
-
which is exclusive. Filters with different keys always work exclusive.
8
+
9
+
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*.
10
+
11
+
Filters with different `keys` are combined with `AND`.
12
+
Filters with the same `key` are combined with `OR`,
13
+
with the only exceptions being `label` and `label!`,
14
+
which are combined with `AND`.
11
15
12
16
Volumes can be filtered by the following attributes:
13
17
@@ -23,3 +27,7 @@ Volumes can be filtered by the following attributes:
23
27
| scope | Filters volume by scope |
24
28
| after/since | Filter by volumes created after the given VOLUME (name or tag) |
25
29
| until | Filter by volumes created before given timestamp |
30
+
31
+
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.
32
+
33
+
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.
Copy file name to clipboardExpand all lines: docs/source/markdown/podman-volume-prune.1.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,11 @@ Provide filter values.
27
27
28
28
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*.
29
29
30
+
Filters with different `keys` are combined with `AND`.
31
+
Filters with the same `key` are combined with `OR`,
32
+
with the only exceptions being `label` and `label!`,
0 commit comments