What are Prime Images?
Prime Images lets you push custom Docker images to Prime’s registry and use them in sandboxes. Builds happen in the cloud, so you don’t need Docker running locally.Push an Image
--source-image to transfer public images from Docker Hub, GHCR, Quay, public ECR, registry.k8s.io, or MCR without building from a Dockerfile. Pass several at once as a comma-separated list. Google-hosted registries are rejected.
When the push completes, the CLI prints the full image reference to use when creating a sandbox. Prime Image references always start with prime/. By default this uses your unique slug — your username for personal images, or the team slug when you’re in a team context:
prime/<userId>/myapp:v1.0.0 or prime/team-<teamId>/myapp:v1.0.0. Run prime images list to see the exact reference for each image.
Check Build Status
- PENDING – Queued for build
- UPLOADING – Build context is being uploaded
- BUILDING – Build in progress
- COMPLETED – Build succeeded, image is usable
- FAILED – Build failed (check your Dockerfile)
- CANCELLED – Build was cancelled
Use Your Image
Once the status shows COMPLETED, create a sandbox with it:Push Many Images at Once
prime images push-bulk builds many images in one command. Builds come from a JSONL manifest (--manifest), a Harbor tasks directory (--harbor), or a Hugging Face dataset (--hf):
--public/--private– set visibility for the built images--concurrency– how many builds run in flight at once--build-timeout– seconds to wait for a single build--dry-run– resolve and print the build list without pushing--failures-out– where to write a re-runnable manifest of failed builds (defaultpush-bulk-failures.jsonl)
--failures-out manifest so you can re-run just the failures.
Update an Image
prime images update renames an image, changes its tag or visibility, or moves it between scopes. The image contents do not move — the old reference stops resolving and the new reference points at the same stored artifacts.
--dry-run to preview the change without applying it, and --yes to skip the confirmation prompt.
VM Images
VM sandboxes are the default runtime, and they boot a VM image rather than a container image. You still define images the normal way — build from a Dockerfile withprime images push, and the VM image builds automatically.
The first time a given image is launched, Prime converts it into a VM image. The sandbox sits in PENDING while that runs, which can take a few minutes; later sandboxes from the same image start normally.
A --source-image push also builds the VM image during the push, so the first sandbox launch from it starts right away.
Publish or Unpublish an Image
Images are private by default. Publishing an image lets other authenticated Prime users use it in sandboxes with theprime/ reference shown by prime images list.