Push an image Run in API Explorer
Push an image to a registry.
If you wish to push an image on to a private registry, that image must
already have a tag which references the registry. For example,
registry.example.com/myimage:latest
.
The push is cancelled if the HTTP connection is closed.
Headers
-
A base64url-encoded auth configuration.
Refer to the authentication section for details.
POST
/images/{name}/push
curl \
--request POST 'http://api.example.com/v1.44/images/{name}/push' \
--header "X-Registry-Auth: string"
Response examples (404)
{
"message": "Something went wrong."
}
Response examples (404)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}