Skip to content

PortBinding

A published port of a container, as reported by Container.state.

Fields

container_port @ Int

Port inside the container.

host_ip @ (Str | nil)

Host address, or nil when unpublished.

host_port @ (Int | nil)

Host port, or nil when unpublished.

protocol @ (PortProtocol | Str)

Protocol, or the runtime's own name for an unrecognized one.