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.

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