ContainerSummaryHostConfig

@Serializable
data class ContainerSummaryHostConfig(val networkMode: String? = null, val annotations: Map<String, String>? = null)

Summary of host-specific runtime information of the container. This is a reduced set of information in the container's \"HostConfig\" as available in the container \"inspect\" response.

Parameters

networkMode

Networking mode (host, none, container:<id>) or name of the primary network the container is using. This field is primarily for backward compatibility. The container can be connected to multiple networks for which information can be found in the NetworkSettings.Networks field, which enumerates settings per network.

annotations

Arbitrary key-value metadata attached to the container.

Constructors

Link copied to clipboard
constructor(networkMode: String? = null, annotations: Map<String, String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "Annotations")
val annotations: Map<String, String>?
Link copied to clipboard
@SerialName(value = "NetworkMode")
val networkMode: String?