Build a sandbox image
Package your dependencies and tools into a reusable sandbox environment.
Loading your workspace’s sandbox data…
Build once, reuse across sandboxes
Create a Dockerfile for your environment, then run the commands below from its directory. Wait for the build to complete before creating a sandbox from the image reference. Your images, build status, and storage usage appear here.
1. Install the Prime CLI and sign in
uv tool install -U primeprime loginNeeds uv.
2. Check the account
prime config viewThe CLI account and team must match this dashboard.
3. Build the Dockerfile in this directory
prime images push myapp:v1.0.0prime images listBuilds run in the cloud. Wait until the build is COMPLETED.
4. Launch a sandbox from the image
prime sandbox create IMAGE_REFERENCEUse the reference the CLI printed for the image.
5. Delete the sandbox when finished
prime sandbox delete SANDBOX_IDUse the ID from the create command to stop compute charges.