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:
OpenShift Merge Robot 2021-08-26 13:01:44 -04:00 committed by GitHub
commit 70caa63e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 9 deletions

View File

@ -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*

View File

@ -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**