Image

Get the history of an image

Changed on

Return parent layers of an image.

get/images/{name}/history

Request

  • Base URL
    /v1.49 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1.49/images/{name}/history
  • Auth
    none declared

Path parameters

namestring required

Image name or ID

Query parameters

platformstring

JSON-encoded OCI platform to select the platform-variant. If omitted, it defaults to any locally available platform, prioritizing the daemon's host platform.

If the daemon provides a multi-platform image store, this selects the platform-variant to show the history for. If the image is a single-platform image, or if the multi-platform image does not provide a variant matching the given platform, an error is returned.

Example: {"os": "linux", "architecture": "arm", "variant": "v5"}

Response

List of image layers

Idstring required
Createdinteger required
CreatedBystring required
Tagsstring[] required
Sizeinteger required
Commentstring required

Changes