An image is a collection of objects representing a VM which can be deployed on Unikraft Cloud. Its format is based on the OCI Image Specification. Within the context of Unikraft Cloud, these images also include a kernel component.
Get Images in Store
Retrieve all images.
query Parameters
digesttagGet Images in Store › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: digest | |
| type = object · requires: tag |
digestGet Images in Store › Responses
default
statusThe status of the response.
op_time_usThe operation time in microseconds. This is the time it took to process the request and generate the response.
messageAn optional message providing additional information about the response.
The response data for this request.
A list of errors which may have occurred during the request.
Get Images
Retrieve all images.
query Parameters
digesttagGet Images › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: digest | |
| type = object · requires: tag |
digestGet Images › Responses
default
statusThe status of the response.
op_time_usThe operation time in microseconds. This is the time it took to process the request and generate the response.
messageAn optional message providing additional information about the response.
The response data for this request.
A list of errors which may have occurred during the request.
Pin Images
Pull and pin one or more images so they stay cached and are never
evicted, without relying on an on-demand pull to succeed at instance
start. If a pull fails, the agent's error is returned in the entry's
message field.
Pin Images › Request Body
urlThe image URL to pull and pin.
timeout_sNumber of seconds to wait for the pull to complete. Required and must
be non-zero; -1 waits up to the platform's maximum timeout.
credentialsOptional credentials for authenticating to an OCI registry. Only valid for OCI registry URLs; the platform rejects this field for non-OCI schemes.
Optional HTTP headers to send when fetching the image.
pull_policyControls when the image is pulled relative to what is already cached on the node. If unset, this is inferred from the URL.
merge_requestsAvoid duplicate pulls by merging with any in-flight request for the
same image. Defaults to true.
(Optional). Automatically unpin the image after a period of inactivity.
Pin Images › Responses
default
statusThe status of the response.
op_time_usThe operation time in microseconds. This is the time it took to process the request and generate the response.
messageAn optional message providing additional information about the response.
This field is useful when the status is not success.
The response data for this request.
A list of errors which may have occurred during the request.
Unpin Images
Unpin one or more images by UUID, making them eligible for normal cache eviction again. This does not delete the image.
Unpin Images › Request Body
uuidThe UUID of the image to unpin. Only UUID is supported; name, URL, tag, and digest are not.
Unpin Images › Responses
default
statusThe status of the response.
op_time_usThe operation time in microseconds. This is the time it took to process the request and generate the response.
messageAn optional message providing additional information about the response.
This field is useful when the status is not success.
The response data for this request.
A list of errors which may have occurred during the request.