aboutsummaryrefslogtreecommitdiff
path: root/docs/podman-port.1.md
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 16:55:08 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 19:37:09 -0500
commit675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (patch)
tree90759430ee69ce79f41679daf7fea104cf014c84 /docs/podman-port.1.md
parent228d1cbcd372b086669e35c1237fc5064b24ea7d (diff)
downloadpodman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.gz
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.bz2
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.zip
Fifth chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> The fifth and final chunk of examples for the Cobra examples in the CLI help output. Also includes a few man page touchups. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
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
#
```