首页
学习
活动
专区
工具
TVP
发布

docker-compose port

Usage: port [options] SERVICE PRIVATE_PORT

Options:
--protocol=proto  tcp or udp [default: tcp]
--index=index     index of the container if there are multiple
                  instances of a service [default: 1]

打印端口绑定的公共端口。

扫码关注腾讯云开发者

领取腾讯云代金券