v1

latestOpenAPI 3.0.02026-07-1410578280.2 KB
Image

Create an image

Create an image by either pulling it from a registry or importing it.

post/images/create

Query parameters

fromImagestring

Name of the image to pull. The name may include a tag or digest. This parameter may only be used when pulling an image. The pull is cancelled if the HTTP connection is closed.

fromSrcstring

Source to import. The value may be a URL from which the image can be retrieved or - to read the image from the request body. This parameter may only be used when importing an image.

repostring

Repository name given to an image when it is imported. The repo may include a tag. This parameter may only be used when importing an image.

tagstring

Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.

Headers

X-Registry-Authstring

A base64-encoded auth configuration. See the authentication section for details.

Response

no error