ContainerInspectResponse

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)

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