List published ports for a container.
Section: Inspection and Debugging
List port mappings
bash
bash
docker port webExplanation
Quickly verify how container ports map to host ports.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Inspection and Debugging
Show filesystem changes
Show filesystem changes in a container since it started.
List processes in a container
Display running processes inside a container.