summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorCarlo Lobrano <c.lobrano@gmail.com>2022-06-17 09:54:22 +0200
committerCarlo Lobrano <c.lobrano@gmail.com>2022-06-21 17:50:55 +0200
commit4a981c490be01547c17fb0b1fc4d1c3bfbf3551e (patch)
tree30f5c0a94a89d8a361272dd9243602e34890d927 /docs/source
parent78ecdad5f8f16dbb6146f2741a3d7ead1ce837bc (diff)
downloadpodman-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/source')
-rw-r--r--docs/source/markdown/podman-network-ls.1.md3
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'