mirror of https://github.com/docker/compose.git
32 lines
793 B
YAML
32 lines
793 B
YAML
|
command: docker compose port
|
||
|
short: Print the public port for a port binding.
|
||
|
long: Print the public port for a port binding.
|
||
|
usage: docker compose port [options] [--] SERVICE PRIVATE_PORT
|
||
|
pname: docker compose
|
||
|
plink: docker_compose.yaml
|
||
|
options:
|
||
|
- option: index
|
||
|
value_type: int
|
||
|
default_value: "1"
|
||
|
description: index of the container if service has multiple replicas
|
||
|
deprecated: false
|
||
|
experimental: false
|
||
|
experimentalcli: false
|
||
|
kubernetes: false
|
||
|
swarm: false
|
||
|
- option: protocol
|
||
|
value_type: string
|
||
|
default_value: tcp
|
||
|
description: tcp or udp
|
||
|
deprecated: false
|
||
|
experimental: false
|
||
|
experimentalcli: false
|
||
|
kubernetes: false
|
||
|
swarm: false
|
||
|
deprecated: false
|
||
|
experimental: false
|
||
|
experimentalcli: false
|
||
|
kubernetes: false
|
||
|
swarm: false
|
||
|
|