compose/docs/reference/compose_port.md
Sebastiaan van Stijn 42710b7c43 docs: also generate "usage" in MarkDown files
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-09 14:40:35 +01:00

389 B

docker compose port

Print the public port for a port binding.

Options

Name Type Default Description
--index int 1 index of the container if service has multiple replicas
--protocol string tcp tcp or udp

Description

Prints the public port for a port binding.