docker port

Estimated reading time: 1 minute

Description

List port mappings or a specific mapping for the container

Usage

docker port CONTAINER [PRIVATE_PORT[/PROTO]]

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Alias for docker container port.

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: