Add filter params description to volume list/prune docs

Description adjusted to the standard seen in other man pages.
[CI:DOCS]

Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
This commit is contained in:
Jakub Guzik
2021-08-23 23:13:49 +02:00
committed by Matthew Heon
parent aa754c7e21
commit 77948c8b44
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: Volumes can be filtered by the following attributes:
- dangling | **Filter** | **Description** |
- driver | ---------- | ------------------------------------------------------------------------------------- |
- label | dangling | [Dangling] Matches all volumes not referenced by any containers |
- name | driver | [Driver] Matches volumes based on their driver |
- opt | label | [Key] or [Key=Value] Label assigned to a volume |
- scope | name | [Name] Volume name (accepts regex) |
- until | opt | Matches a storage driver options |
| scope | Filters volume by scope |
| until | Only remove volumes created before given timestamp |
#### **--format**=*format* #### **--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: Filter volumes to be pruned. Volumes can be filtered by the following attributes:
- label | **Filter** | **Description** |
- until | ---------- | ------------------------------------------------------------------------------------- |
| label | [Key] or [Key=Value] Label assigned to a volume |
| until | Only remove volumes created before given timestamp |
#### **--help** #### **--help**