summaryrefslogtreecommitdiff
path: root/docs/podman-port.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-19 19:48:05 +0100
committerGitHub <noreply@github.com>2019-02-19 19:48:05 +0100
commit82ae36c15726a4adb3242938ed2396be30bd479a (patch)
treec083d8e599ac24abb298597de8dd7c0ee41e54d8 /docs/podman-port.1.md
parent10ffa3ff82ff28e7761c23cda5a5c16d83e0d0ce (diff)
parent675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (diff)
downloadpodman-82ae36c15726a4adb3242938ed2396be30bd479a.tar.gz
podman-82ae36c15726a4adb3242938ed2396be30bd479a.tar.bz2
podman-82ae36c15726a4adb3242938ed2396be30bd479a.zip
Merge pull request #2363 from TomSweeneyRedHat/dev/tsweeney/cobraex5
Fifth chunk of Cobra Examples
Diffstat (limited to 'docs/podman-port.1.md')
-rw-r--r--docs/podman-port.1.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/podman-port.1.md b/docs/podman-port.1.md
index 874ea5036..25a8eceb5 100644
--- a/docs/podman-port.1.md
+++ b/docs/podman-port.1.md
@@ -25,7 +25,7 @@ to run containers such as CRI-O, the last started container could be from either
List all port mappings
```
-#podman port -a
+# podman port -a
b4d2f05432e482e017b1a4b2eae15fa7b4f6fb7e9f65c1bde46294fdef285906
80/udp -> 0.0.0.0:44327
80/tcp -> 0.0.0.0:44327
@@ -34,21 +34,21 @@ b4d2f05432e482e017b1a4b2eae15fa7b4f6fb7e9f65c1bde46294fdef285906
List port mappings for a specific container
```
-#podman port b4d2f054
+# podman port b4d2f054
80/udp -> 0.0.0.0:44327
80/tcp -> 0.0.0.0:44327
#
```
List the port mappings for the latest container and port 80
```
-#podman port b4d2f054 80
+# podman port b4d2f054 80
0.0.0.0:44327
#
```
List the port mappings for a specific container for port 80 and the tcp protocol.
```
-#podman port b4d2f054 80/tcp
+# podman port b4d2f054 80/tcp
0.0.0.0:44327
#
```