Docker の検索・質問

docker compose port

マークダウン参照
内容説明List port mappings or print the public port for a specific mapping for the service
利用方法docker compose port [OPTIONS] SERVICE [PRIVATE_PORT]

内容説明

List port mappings or print the public port for a specific mapping for the service

オプション

オプションデフォルト内容説明
--indexIndex of the container if service has multiple replicas
--protocoltcptcp or udp