mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00
Fix up example description of podman-port.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user