Endpoint interface
描述容器的终结点配置
属性
host |
从容器公开应用程序的主机 IP |
name | 终结点的名称 |
protocol | 通过此终结点进行通信的协议 |
published | 应用程序从容器公开的端口。 |
target | 容器内的应用程序端口。 |
属性详细信息
hostIp
从容器公开应用程序的主机 IP
hostIp?: string
属性值
string
name
终结点的名称
name?: string
属性值
string
protocol
通过此终结点进行通信的协议
protocol?: string
属性值
string
published
应用程序从容器公开的端口。
published?: number
属性值
number
target
容器内的应用程序端口。
target?: number
属性值
number