Import images Run in API Explorer

POST /images/load

Load a set of images and tags into a repository.

For details on the format, see the export image endpoint.

Query parameters

  • quiet boolean

    Suppress progress details during load.

    Default value is false.

  • platform string

    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"}

application/x-tar

Body

Tar archive containing images

string(binary) string(binary)

Responses

  • 200

    no error

  • 500 application/json

    server error

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

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."
}