docker container port <container> <[PRIVATE_PORT[/PROTO]]>

List port mappings or a specific mapping for the container

Arguments

NameDescription
container
[PRIVATE_PORT[/PROTO]]