Merge pull request #11318 from jmguzik/volume-ls-prune-docs
[CI:DOCS] Add filter params description to volume list/prune docs
This commit is contained in:
commit
70caa63e7c
|
|
@ -18,13 +18,15 @@ flag. Use the **--quiet** flag to print only the volume names.
|
|||
|
||||
Volumes can be filtered by the following attributes:
|
||||
|
||||
- dangling
|
||||
- driver
|
||||
- label
|
||||
- name
|
||||
- opt
|
||||
- scope
|
||||
- until
|
||||
| **Filter** | **Description** |
|
||||
| ---------- | ------------------------------------------------------------------------------------- |
|
||||
| dangling | [Dangling] Matches all volumes not referenced by any containers |
|
||||
| driver | [Driver] Matches volumes based on their driver |
|
||||
| label | [Key] or [Key=Value] Label assigned to a volume |
|
||||
| name | [Name] Volume name (accepts regex) |
|
||||
| opt | Matches a storage driver options |
|
||||
| scope | Filters volume by scope |
|
||||
| until | Only remove volumes created before given timestamp |
|
||||
|
||||
#### **--format**=*format*
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,10 @@ Do not prompt for confirmation.
|
|||
|
||||
Filter volumes to be pruned. Volumes can be filtered by the following attributes:
|
||||
|
||||
- label
|
||||
- until
|
||||
| **Filter** | **Description** |
|
||||
| ---------- | ------------------------------------------------------------------------------------- |
|
||||
| label | [Key] or [Key=Value] Label assigned to a volume |
|
||||
| until | Only remove volumes created before given timestamp |
|
||||
|
||||
#### **--help**
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue