Files
compose/docs/reference/compose_port.md
2024-02-14 14:02:37 -05:00

667 B

docker compose port

Print the public port for a port binding

Options

Name Type Default Description
--dry-run Execute command in dry run mode
--index int 0 Index of the container if service has multiple replicas
--protocol string tcp tcp or udp

Description

Prints the public port for a port binding