summaryrefslogtreecommitdiff
path: root/docs/podman-port.1.md
diff options
context:
space:
mode:
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
#
```