ContainerInspectResponse

@Serializable
data class ContainerInspectResponse(val id: String? = null, val created: String? = null, val path: String? = null, val args: List<String>? = null, val state: ContainerState? = null, val image: String? = null, val resolvConfPath: String? = null, val hostnamePath: String? = null, val hostsPath: String? = null, val logPath: String? = null, val name: String? = null, val restartCount: Int? = null, val driver: String? = null, val platform: String? = null, val imageManifestDescriptor: OCIDescriptor? = null, val mountLabel: String? = null, val processLabel: String? = null, val appArmorProfile: String? = null, val execIDs: List<String>? = null, val hostConfig: HostConfig? = null, val graphDriver: DriverData? = null, val sizeRw: Long? = null, val sizeRootFs: Long? = null, val mounts: List<MountPoint>? = null, val config: ContainerConfig? = null, val networkSettings: NetworkSettings? = null)

Parameters

id

The ID of this container as a 128-bit (64-character) hexadecimal string (32 bytes).

created

Date and time at which the container was created, formatted in RFC 3339 format with nano-seconds.

path

The path to the command being run

args

The arguments to the command being run

state
image

The ID (digest) of the image that this container was created from.

resolvConfPath

Location of the /etc/resolv.conf generated for the container on the host. This file is managed through the docker daemon, and should not be accessed or modified by other tools.

hostnamePath

Location of the /etc/hostname generated for the container on the host. This file is managed through the docker daemon, and should not be accessed or modified by other tools.

hostsPath

Location of the /etc/hosts generated for the container on the host. This file is managed through the docker daemon, and should not be accessed or modified by other tools.

logPath

Location of the file used to buffer the container's logs. Depending on the logging-driver used for the container, this field may be omitted. This file is managed through the docker daemon, and should not be accessed or modified by other tools.

name

The name associated with this container. For historic reasons, the name may be prefixed with a forward-slash (/).

restartCount

Number of times the container was restarted since it was created, or since daemon was started.

driver

The storage-driver used for the container's filesystem (graph-driver or snapshotter).

platform

The platform (operating system) for which the container was created. This field was introduced for the experimental \"LCOW\" (Linux Containers On Windows) features, which has been removed. In most cases, this field is equal to the host's operating system (linux or windows).

imageManifestDescriptor
mountLabel

SELinux mount label set for the container.

processLabel

SELinux process label set for the container.

appArmorProfile

The AppArmor profile set for the container.

execIDs

IDs of exec instances that are running in the container.

hostConfig
graphDriver
sizeRw

The size of files that have been created or changed by this container. This field is omitted by default, and only set when size is requested in the API request.

sizeRootFs

The total size of all files in the read-only layers from the image that the container uses. These layers can be shared between containers. This field is omitted by default, and only set when size is requested in the API request.

mounts

List of mounts used by the container.

config
networkSettings

Constructors

Link copied to clipboard
constructor(id: String? = null, created: String? = null, path: String? = null, args: List<String>? = null, state: ContainerState? = null, image: String? = null, resolvConfPath: String? = null, hostnamePath: String? = null, hostsPath: String? = null, logPath: String? = null, name: String? = null, restartCount: Int? = null, driver: String? = null, platform: String? = null, imageManifestDescriptor: OCIDescriptor? = null, mountLabel: String? = null, processLabel: String? = null, appArmorProfile: String? = null, execIDs: List<String>? = null, hostConfig: HostConfig? = null, graphDriver: DriverData? = null, sizeRw: Long? = null, sizeRootFs: Long? = null, mounts: List<MountPoint>? = null, config: ContainerConfig? = null, networkSettings: NetworkSettings? = null)

Properties

Link copied to clipboard
@SerialName(value = "AppArmorProfile")
val appArmorProfile: String?
Link copied to clipboard
@SerialName(value = "Args")
val args: List<String>?
Link copied to clipboard
@SerialName(value = "Config")
val config: ContainerConfig?
Link copied to clipboard
@SerialName(value = "Created")
val created: String?
Link copied to clipboard
@SerialName(value = "Driver")
val driver: String?
Link copied to clipboard
@SerialName(value = "ExecIDs")
val execIDs: List<String>?
Link copied to clipboard
@SerialName(value = "GraphDriver")
val graphDriver: DriverData?
Link copied to clipboard
@SerialName(value = "HostConfig")
val hostConfig: HostConfig?
Link copied to clipboard
@SerialName(value = "HostnamePath")
val hostnamePath: String?
Link copied to clipboard
@SerialName(value = "HostsPath")
val hostsPath: String?
Link copied to clipboard
@SerialName(value = "Id")
val id: String?
Link copied to clipboard
@SerialName(value = "Image")
val image: String?
Link copied to clipboard
@SerialName(value = "ImageManifestDescriptor")
val imageManifestDescriptor: OCIDescriptor?
Link copied to clipboard
@SerialName(value = "LogPath")
val logPath: String?
Link copied to clipboard
@SerialName(value = "MountLabel")
val mountLabel: String?
Link copied to clipboard
@SerialName(value = "Mounts")
val mounts: List<MountPoint>?
Link copied to clipboard
@SerialName(value = "Name")
val name: String?
Link copied to clipboard
@SerialName(value = "NetworkSettings")
val networkSettings: NetworkSettings?
Link copied to clipboard
@SerialName(value = "Path")
val path: String?
Link copied to clipboard
@SerialName(value = "Platform")
val platform: String?
Link copied to clipboard
@SerialName(value = "ProcessLabel")
val processLabel: String?
Link copied to clipboard
@SerialName(value = "ResolvConfPath")
val resolvConfPath: String?
Link copied to clipboard
@SerialName(value = "RestartCount")
val restartCount: Int?
Link copied to clipboard
@SerialName(value = "SizeRootFs")
val sizeRootFs: Long?
Link copied to clipboard
@SerialName(value = "SizeRw")
val sizeRw: Long?
Link copied to clipboard
@SerialName(value = "State")
val state: ContainerState?