v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1441293181.2 KB

Creates or updates the image manifest and tags associated with an image.

When an image is pushed and all new image layers have been uploaded, the PutImage API is called once to create or update the image manifest and the tags associated with the image.

This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

post/#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.PutImage

Headers

X-Amz-Target'AmazonEC2ContainerRegistry_V20150921.PutImage' required

Request body

registryIdstring

The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

repositoryNamestring required

The name of the repository in which to put the image.

imageManifeststring required

The image manifest corresponding to the image to be uploaded.

imageManifestMediaTypestring

The media type of the image manifest. If you push an image manifest that does not contain the <code>mediaType</code> field, you must specify the <code>imageManifestMediaType</code> in the request.

imageTagstring

The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

imageDigeststring

The image digest of the image manifest corresponding to the image.

Response

Success