diff options
author | Carlo Lobrano <c.lobrano@gmail.com> | 2022-06-17 09:54:22 +0200 |
---|---|---|
committer | Carlo Lobrano <c.lobrano@gmail.com> | 2022-06-21 17:50:55 +0200 |
commit | 4a981c490be01547c17fb0b1fc4d1c3bfbf3551e (patch) | |
tree | 30f5c0a94a89d8a361272dd9243602e34890d927 /docs | |
parent | 78ecdad5f8f16dbb6146f2741a3d7ead1ce837bc (diff) | |
download | podman-4a981c490be01547c17fb0b1fc4d1c3bfbf3551e.tar.gz podman-4a981c490be01547c17fb0b1fc4d1c3bfbf3551e.tar.bz2 podman-4a981c490be01547c17fb0b1fc4d1c3bfbf3551e.zip |
allow filter networks by dangling status
add the ability to filter networks by their dangling status via:
`network ls --filter dangling=true/false`
Fixes: #14595
Signed-off-by: Carlo Lobrano <c.lobrano@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-network-ls.1.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-network-ls.1.md b/docs/source/markdown/podman-network-ls.1.md index b341083f9..3c696d404 100644 --- a/docs/source/markdown/podman-network-ls.1.md +++ b/docs/source/markdown/podman-network-ls.1.md @@ -25,6 +25,7 @@ Supported filters: | label | Filter by network with (or without, in the case of label!=[...] is used) the specified labels. | | name | Filter by network name (accepts `regex`). | | until | Filter by networks created before given timestamp. | +| dangling | Filter by networks with no containers attached. | The `driver` filter accepts values: `bridge`, `macvlan`, `ipvlan`. @@ -33,6 +34,8 @@ The `label` *filter* accepts two formats. One is the `label`=*key* or `label`=*k 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. +The `dangling` *filter* accepts values `true` or `false`. + #### **--format**=*format* Change the default output format. This can be of a supported type like 'json' |