Import images Run in API Explorer
Load a set of images and tags into a repository.
For details on the format, see the export image endpoint.
Query parameters
-
Suppress progress details during load.
Default value is
false
. -
JSON encoded OCI platform describing a platform which will be used to select a platform-specific image to be load if the image is multi-platform. If not provided, the full multi-platform image will be loaded.
Example:
{"os": "linux", "architecture": "arm", "variant": "v5"}
POST
/images/load
curl \
--request POST 'http://api.example.com/v1.49/images/load' \
--header "Content-Type: application/x-tar" \
--data-binary '@file'
Response examples (500)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}