mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Add support for cli network prune --filter flag
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
This commit is contained in:
@ -13,7 +13,7 @@ Displays a list of existing podman networks.
|
||||
#### **--filter**, **-f**
|
||||
|
||||
Filter output based on conditions given.
|
||||
Multiple filters can be given with multiple uses of the --filter flag.
|
||||
Multiple filters can be given with multiple uses of the --filter option.
|
||||
Filters with the same key work inclusive with the only exception being
|
||||
`label` which is exclusive. Filters with different keys always work exclusive.
|
||||
|
||||
|
@ -16,6 +16,20 @@ the so-called default network which goes by the name of *podman*.
|
||||
|
||||
Do not prompt for confirmation
|
||||
|
||||
#### **--filter**
|
||||
|
||||
Filter output based on conditions given.
|
||||
Multiple filters can be given with multiple uses of the --filter option.
|
||||
Filters with the same key work inclusive with the only exception being
|
||||
`label` which is exclusive. Filters with different keys always work exclusive.
|
||||
|
||||
Valid filters are listed below:
|
||||
|
||||
| **Filter** | **Description** |
|
||||
| ---------- | ------------------------------------------------------------------------------------- |
|
||||
| label | [Key] or [Key=Value] Label assigned to a network |
|
||||
| until | only remove networks created before given timestamp |
|
||||
|
||||
## EXAMPLE
|
||||
Prune networks
|
||||
|
||||
|
Reference in New Issue
Block a user