Skip to content

ContainerState

The live state of a container.

Fields

mounts @ Tuple[...MountInfo] [get]

Mounts.

name @ (Str | nil) [get]

Container name.

ports @ Tuple[...PortBinding] [get]

Published ports.

state @ (ContainerStatus | Str | nil) [get]

Lifecycle state, the runtime's own word for an unrecognized one, or nil when the runtime reports no status.

status @ (Str | nil) [get]

The runtime's own word for the state.