Fix up example description of podman-port.1.md.in

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2024-02-17 13:36:25 -05:00
parent fbb4d5dca6
commit 664d4ed28c

View File

@ -21,7 +21,7 @@ List all known port mappings for running containers; when using this option, con
## EXAMPLE
List all port mappings
List all port mappings:
```
# podman port -a
b4d2f05432e482e017b1a4b2eae15fa7b4f6fb7e9f65c1bde46294fdef285906
@ -30,21 +30,21 @@ b4d2f05432e482e017b1a4b2eae15fa7b4f6fb7e9f65c1bde46294fdef285906
#
```
List port mappings for a specific container
List port mappings for a specific container:
```
# 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
List specified port mappings for specified container:
```
# podman port b4d2f054 80
0.0.0.0:44327
#
```
List the port mappings for a specific container for port 80 and the tcp protocol.
List the port mappings for a specific container for port 80 and the tcp protocol:
```
# podman port b4d2f054 80/tcp
0.0.0.0:44327