Skip to content
Start here

Images

Prepare a container image
client.containers.images.prepare(ImagePrepareParams { account_id, image } params, RequestOptionsoptions?): ImagePrepareResponse { image, status, artifact_digest, reason }
POST/accounts/{account_id}/containers/image-preparations
ModelsExpand Collapse
ImagePrepareResponse { image, status, artifact_digest, reason }

Durable preparation state for a container image.

image: string

Image url.

status: "pending" | "ready" | "error"

Current durable preparation state for a container image.

One of the following:
"pending"
"ready"
"error"
artifact_digest?: string

Digest of the prepared runtime artifact when status is ready.

reason?: string

Human-readable pending or terminal error detail.