mirror of https://github.com/docker/compose.git
32 lines
794 B
YAML
32 lines
794 B
YAML
command: docker compose port
|
|
short: Print the public port for a port binding.
|
|
long: Prints 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
|
|
|