v51

latestSwagger 2.0raw.githubusercontent.com2026-08-01108160461.1 KB
Image

Get the history of an image

Return parent layers of an image.

get/images/{name}/history

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