Type Alias: ContainerdContainerPort
说明
本页由源码中的注释生成,内容为英文。
ContainerdContainerPort =
object
A container port published on the host (ContainerdContainer.ports), with every host port forwarding to it. It is read from the container's nerdctl labels, so the containers created by nerdctl report theirs too.
Properties
host
host:
string
The host address the ports listen on; '0.0.0.0' for all of them.
hostPorts
hostPorts:
number[]
The host ports forwarding to it.
port
port:
number
The port in the container.
type
type:
"tcp"|"udp"|"sctp"
The protocol of the port.