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.
Authorizations
IAM bearer token issued by the Nebius IAM service. Sent as
Authorization: Bearer <iam-token>. Must be combined with the
Project header (see IAMProjectHeader).
This is the recommended authentication scheme for new clients.
Nebius project ID associated with the IAM token. Required together
with IAMBearerAuth. Identifies the project context the request is
scoped to.
Body
Response
Created - The request has been accepted for processing
A UUID string
"12345678-9abc-baba-deda-0123456789ab"