summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-pod-ps.1.md
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-01-09 16:54:41 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-01-09 19:15:43 +0100
commit38baf3d5e2bc5c1e8b216dc072ea1d3eaf5053b8 (patch)
treeb471d6178b117e8ab6f287fddc8b546a04cce711 /docs/source/markdown/podman-pod-ps.1.md
parent1242e7b7a612b1dcae0e09a7fd10e266d34cf9e2 (diff)
downloadpodman-38baf3d5e2bc5c1e8b216dc072ea1d3eaf5053b8.tar.gz
podman-38baf3d5e2bc5c1e8b216dc072ea1d3eaf5053b8.tar.bz2
podman-38baf3d5e2bc5c1e8b216dc072ea1d3eaf5053b8.zip
Add Networks format placeholder to podman ps and pod ps
`podman ps --format {{.Networks}}` will show all connected networks for this container. For `pod ps` it will show the infra container networks. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'docs/source/markdown/podman-pod-ps.1.md')
-rw-r--r--docs/source/markdown/podman-pod-ps.1.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-pod-ps.1.md b/docs/source/markdown/podman-pod-ps.1.md
index aa9319ef3..ab250e1ff 100644
--- a/docs/source/markdown/podman-pod-ps.1.md
+++ b/docs/source/markdown/podman-pod-ps.1.md
@@ -72,6 +72,8 @@ Valid placeholders for the Go template are listed below:
| .Cgroup | Cgroup path of pod |
| .Created | Creation time of pod |
| .InfraID | Pod infra container ID |
+| .Networks | Show all networks connected to the infra container |
+
#### **--sort**
Sort by created, ID, name, status, or number of containers