docker compose port
| 内容説明 | Print the public port for a port binding |
|---|---|
| 利用方法 | docker compose port [OPTIONS] SERVICE PRIVATE_PORT |
内容説明
Prints the public port for a port binding
オプション
| オプション | デフォルト | 内容説明 |
|---|---|---|
--index | Index of the container if service has multiple replicas | |
--protocol | tcp | tcp or udp |