Skip to content

dsdk / v1.47 / ImageInspect

Type Alias: ImageInspect ​

ImageInspect: object

Information about an image in the local image cache.

Type declaration ​

NameTypeDescription
Architecture?stringHardware CPU architecture that the image runs on.
Author?stringName of the author that was specified when committing the image, or as specified through MAINTAINER (deprecated) in the Dockerfile.
Comment?stringOptional message that was set when committing or importing the image.
Config?ImageConfig-
Created?string | nullDate and time at which the image was created, formatted in RFC 3339 format with nano-seconds. This information is only available if present in the image, and omitted otherwise.
DockerVersion?stringThe version of Docker that was used to build the image. Depending on how the image was created, this field may be empty.
GraphDriver?DriverData-
Id?stringID is the content-addressable ID of an image. This identifier is a content-addressable digest calculated from the image's configuration (which includes the digests of layers used by the image). Note that this digest differs from the RepoDigests below, which holds digests of image manifests that reference the image.
Metadata?objectAdditional metadata of the image in the local cache. This information is local to the daemon, and not part of the image itself.
Metadata.LastTagTime?string | nullDate and time at which the image was last tagged in RFC 3339 format with nano-seconds. This information is only available if the image was tagged locally, and omitted otherwise.
Os?stringOperating System the image is built to run on.
OsVersion?string | nullOperating System version the image is built to run on (especially for Windows).
Parent?stringID of the parent image. Depending on how the image was created, this field may be empty and is only set for images that were built/created locally. This field is empty if the image was pulled from an image registry.
RepoDigests?string[]List of content-addressable digests of locally available image manifests that the image is referenced from. Multiple manifests can refer to the same image. These digests are usually only available if the image was either pulled from a registry, or if the image was pushed to a registry, which is when the manifest is generated and its digest calculated.
RepoTags?string[]List of image names/tags in the local image cache that reference this image. Multiple image tags can refer to the same image, and this list may be empty if no tags reference the image, in which case the image is "untagged", in which case it can still be referenced by its ID.
RootFS?objectInformation about the image's RootFS, including the layer IDs.
RootFS.Layers?string[]-
RootFS.Typestring-
Size?numberTotal size of the image including all layers it is composed of.
Variant?string | nullCPU architecture variant (presently ARM-only).
VirtualSize?numberTotal size of the image including all layers it is composed of. Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.