# ContainerInspectResponse


[API catalog](/reference/api/) · [Docker Engine overview](/reference/api/engine/version/v1.57/) · [Product manual](https://docs.docker.com/engine/) · [OpenAPI specification](/reference/api/engine/version/v1.57.yaml)

API version: 1.57





Schema constraints and annotations:

```json
{
  "properties": {
    "AppArmorProfile": {
      "description": "The AppArmor profile set for the container.",
      "example": "",
      "type": "string"
    },
    "Args": {
      "description": "The arguments to the command being run",
      "example": [
        "-c",
        "exit 9"
      ],
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "Config": {
      "$ref": "#/components/schemas/ContainerConfig"
    },
    "Created": {
      "description": "Date and time at which the container was created, formatted in\n[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.",
      "example": "2025-02-17T17:43:39.64001363Z",
      "format": "dateTime",
      "type": "string",
      "x-nullable": true
    },
    "Driver": {
      "description": "The storage-driver used for the container's filesystem (graph-driver\nor snapshotter).",
      "example": "overlayfs",
      "type": "string"
    },
    "ExecIDs": {
      "description": "IDs of exec instances that are running in the container.",
      "example": [
        "b35395de42bc8abd327f9dd65d913b9ba28c74d2f0734eeeae84fa1c616a0fca",
        "3fc1232e5cd20c8de182ed81178503dc6437f4e7ef12b52cc5e8de020652f1c4"
      ],
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-nullable": true
    },
    "GraphDriver": {
      "$ref": "#/components/schemas/DriverData",
      "x-nullable": true
    },
    "HostConfig": {
      "$ref": "#/components/schemas/HostConfig"
    },
    "HostnamePath": {
      "description": "Location of the `/etc/hostname` generated for the container on the\nhost.\n\nThis file is managed through the docker daemon, and should not be\naccessed or modified by other tools.",
      "example": "/var/lib/docker/containers/aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf/hostname",
      "type": "string"
    },
    "HostsPath": {
      "description": "Location of the `/etc/hosts` generated for the container on the\nhost.\n\nThis file is managed through the docker daemon, and should not be\naccessed or modified by other tools.",
      "example": "/var/lib/docker/containers/aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf/hosts",
      "type": "string"
    },
    "Id": {
      "description": "The ID of this container as a 128-bit (64-character) hexadecimal string (32 bytes).",
      "example": "aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf",
      "maxLength": 64,
      "minLength": 64,
      "pattern": "^[0-9a-fA-F]{64}$",
      "type": "string",
      "x-go-name": "ID"
    },
    "Image": {
      "description": "The ID (digest) of the image that this container was created from.",
      "example": "sha256:72297848456d5d37d1262630108ab308d3e9ec7ed1c3286a32fe09856619a782",
      "type": "string"
    },
    "ImageManifestDescriptor": {
      "$ref": "#/components/schemas/OCIDescriptor",
      "description": "OCI descriptor of the platform-specific manifest of the image\nthe container was created from.\n\nNote: Only available if the daemon provides a multi-platform\nimage store."
    },
    "LogPath": {
      "description": "Location of the file used to buffer the container's logs. Depending on\nthe logging-driver used for the container, this field may be omitted.\n\nThis file is managed through the docker daemon, and should not be\naccessed or modified by other tools.",
      "example": "/var/lib/docker/containers/5b7c7e2b992aa426584ce6c47452756066be0e503a08b4516a433a54d2f69e59/5b7c7e2b992aa426584ce6c47452756066be0e503a08b4516a433a54d2f69e59-json.log",
      "type": "string",
      "x-nullable": true
    },
    "MountLabel": {
      "description": "SELinux mount label set for the container.",
      "example": "",
      "type": "string"
    },
    "Mounts": {
      "description": "List of mounts used by the container.",
      "items": {
        "$ref": "#/components/schemas/MountPoint"
      },
      "type": "array"
    },
    "Name": {
      "description": "The name associated with this container.\n\nFor historic reasons, the name may be prefixed with a forward-slash (`/`).",
      "example": "/funny_chatelet",
      "type": "string"
    },
    "NetworkSettings": {
      "$ref": "#/components/schemas/NetworkSettings"
    },
    "Path": {
      "description": "The path to the command being run",
      "example": "/bin/sh",
      "type": "string"
    },
    "Platform": {
      "description": "The platform (operating system) for which the container was created.\n\nThis field was introduced for the experimental \"LCOW\" (Linux Containers\nOn Windows) features, which has been removed. In most cases, this field\nis equal to the host's operating system (`linux` or `windows`).",
      "example": "linux",
      "type": "string"
    },
    "ProcessLabel": {
      "description": "SELinux process label set for the container.",
      "example": "",
      "type": "string"
    },
    "ResolvConfPath": {
      "description": "Location of the `/etc/resolv.conf` generated for the container on the\nhost.\n\nThis file is managed through the docker daemon, and should not be\naccessed or modified by other tools.",
      "example": "/var/lib/docker/containers/aa86eacfb3b3ed4cd362c1e88fc89a53908ad05fb3a4103bca3f9b28292d14bf/resolv.conf",
      "type": "string"
    },
    "RestartCount": {
      "description": "Number of times the container was restarted since it was created,\nor since daemon was started.",
      "example": 0,
      "type": "integer"
    },
    "SizeRootFs": {
      "description": "The total size of all files in the read-only layers from the image\nthat the container uses. These layers can be shared between containers.\n\nThis field is omitted by default, and only set when size is requested\nin the API request.",
      "example": "1653948416",
      "format": "int64",
      "type": "integer",
      "x-nullable": true
    },
    "SizeRw": {
      "description": "The size of files that have been created or changed by this container.\n\nThis field is omitted by default, and only set when size is requested\nin the API request.",
      "example": "122880",
      "format": "int64",
      "type": "integer",
      "x-nullable": true
    },
    "State": {
      "$ref": "#/components/schemas/ContainerState"
    },
    "Storage": {
      "$ref": "#/components/schemas/Storage",
      "x-nullable": true
    }
  },
  "title": "ContainerInspectResponse",
  "type": "object",
  "x-go-name": "InspectResponse"
}
```



