summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKunal Kushwaha <kunal.kushwaha@gmail.com>2020-05-11 07:25:47 +0000
committerKunal Kushwaha <kunal.kushwaha@gmail.com>2020-05-20 02:53:47 +0000
commit1dde2730e85706177c9a0e9078c26560a280f074 (patch)
tree3ff395f30c83d1953de9654902c17df9747e9f3f /docs
parentfa5b33e70b96ea8dfca3b46cab44a2e07028bf0c (diff)
downloadpodman-1dde2730e85706177c9a0e9078c26560a280f074.tar.gz
podman-1dde2730e85706177c9a0e9078c26560a280f074.tar.bz2
podman-1dde2730e85706177c9a0e9078c26560a280f074.zip
filter option added to network ls command.
filter option helps to filter output based on name or supported plugins by CNI networks. Signed-off-by: Kunal Kushwaha <kunal.kushwaha@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-network-ls.1.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-network-ls.1.md b/docs/source/markdown/podman-network-ls.1.md
index 46e424593..7b20cf5e0 100644
--- a/docs/source/markdown/podman-network-ls.1.md
+++ b/docs/source/markdown/podman-network-ls.1.md
@@ -12,7 +12,15 @@ Displays a list of existing podman networks. This command is not available for r
## OPTIONS
**--quiet**, **-q**
-The `quiet` option will restrict the output to only the network names
+The `quiet` option will restrict the output to only the network names.
+
+**--format**, **-f**
+
+Pretty-print networks to JSON or using a Go template.
+
+**--filter**
+
+Provide filter values (e.g. 'name=podman').
## EXAMPLE
@@ -36,6 +44,14 @@ outside
podman9
```
+Display name of network which support bridge plugin
+```
+# podman network ls --filter plugin=portmap --format {{.Name}}
+podman
+podman2
+podman9
+```
+
## SEE ALSO
podman(1), podman-network(1), podman-network-inspect(1)