English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Docker Reference Manual

Docker Command Reference

Docker port Commanddocker port :

List the port mappings of the specified container or find the PRIVATE_PORT NAT to a public port.

Syntax/docker port [OPTIONS] CONTAINER [PRIVATE_PORT[

PROTO]]

Online Examples

w3View the port mapping of container mynginx.3codebox@w:~$ docker port mymysql
3306/tcp -> 0.0.0.0:3306

Docker Command Reference