Push an image
POST /images/(name)/push
Push the image name
on the registry
Example request:
Example response:
If you wish to push an image on to a private registry, that image must already have a tag into a repository which references that registry hostname
and port
. This repository name should then be used in the URL. This duplicates the command line's flow.
The push is cancelled if the HTTP connection is closed.
Example request:
Query Parameters:
tag – The tag to associate with the image on the registry. This is optional.
Request Headers:
X-Registry-Auth – base64-encoded AuthConfig object, containing either login information, or a token
Credential based login:
Token based login:
Status Codes:
200 – no error
404 – no such image
500 – server error
Last updated