Error
A valid request URL is required to generate request examples{
"uuid": "12345678-9abc-baba-deda-0123456789ab"
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}images
Import a container image from a registry
Imports the OCI image filesystem content of from a specified registry.
Important limitations and behavior:
- Only the image root filesystem (files and directories) is imported. This is like to the output of
docker exportand does not preserve layers metadata. - Most image configuration and manifest data are ignored. Metadata such as
LABEL,ENTRYPOINT,CMD,WORKDIR,EXPOSEand other image configuration directives will NOT be imported or applied. ENVvariables defined in the image are imported and automatically applied to the instance environment whenshellis set totrue. Whenshellisfalse, image environment variables are not inherited and must be passed explicitly via theenvfield.- The result is a flat rootfs snapshot with preserved environment variables.
- If the specified tag already exists in the public images, the imported image will replace it. To avoid this, you can tag the existing image with a different tag for use it later. You also can use image UUIDs it is not changing for imported and existend image.
- In case the remote image is unchanged and already imported, the operation will complete and the same UUID will be returned without re-importing the image.
The request creates an import operation which runs asynchronously.
POST
/
images
/
import
Error
A valid request URL is required to generate request examples{
"uuid": "12345678-9abc-baba-deda-0123456789ab"
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}{
"error": "Some error occurred, this is an example of error message",
"status": 500,
"traceback": [
"<string>"
]
}Authorizations
Body
application/json
Was this page helpful?