summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-18 06:15:01 -0700
committerGitHub <noreply@github.com>2019-03-18 06:15:01 -0700
commit310155b4ee8f61aed4ff7f7a8056441f3971b536 (patch)
tree550fdb9a00293079286c57570da849b747e9356a /docs
parentcd5f4786ce57186fc6dd7a7e9c4fc61ed99a8d26 (diff)
parent1549a7666ba0bae404dbbe9c9635603848c5200a (diff)
downloadpodman-310155b4ee8f61aed4ff7f7a8056441f3971b536.tar.gz
podman-310155b4ee8f61aed4ff7f7a8056441f3971b536.tar.bz2
podman-310155b4ee8f61aed4ff7f7a8056441f3971b536.zip
Merge pull request #2685 from kunalkushwaha/ps-man-page-fix-2664
output of port grouping in ps command added as example
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-ps.1.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/podman-ps.1.md b/docs/podman-ps.1.md
index b8b1c3d62..811fbbc2f 100644
--- a/docs/podman-ps.1.md
+++ b/docs/podman-ps.1.md
@@ -148,6 +148,15 @@ CONTAINER ID IMAGE COMMAND CREATED STATUS
69ed779d8ef9f redis:alpine "redis-server" 25 hours ago Created 6379/tcp k8s_container1_podsandbox1_redhat.test.crio_redhat-test-crio_1
02f65160e14ca redis:alpine "redis-server" 19 hours ago Exited (-1) 19 hours ago 6379/tcp k8s_podsandbox1-redis_podsandbox1_redhat.test.crio_redhat-test-crio_0
```
+
+```
+$ podman ps
+CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
+4089df24d4f3 docker.io/library/centos:latest /bin/bash 2 minutes ago Up 2 minutes ago 0.0.0.0:80->8080/tcp, 0.0.0.0:2000-2006->2000-2006/tcp manyports
+92f58933c28c docker.io/library/centos:latest /bin/bash 3 minutes ago Up 3 minutes ago 192.168.99.100:1000-1006->1000-1006/tcp zen_sanderson
+
+```
+
## ps
Print a list of containers