Sandboxes

Build a sandbox image

Package your dependencies and tools into a reusable sandbox environment.

Sign InOpen Docs
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. 1. Install the Prime CLI and sign in

    uv tool install -U prime
    prime login

    Needs uv.

  2. 2. Check the account

    prime config view

    The CLI account and team must match this dashboard.

  3. 3. Build the Dockerfile in this directory

    prime images push myapp:v1.0.0
    prime images list

    Builds run in the cloud. Wait until the build is COMPLETED.

  4. 4. Launch a sandbox from the image

    prime sandbox create IMAGE_REFERENCE

    Use the reference the CLI printed for the image.

  5. 5. Delete the sandbox when finished

    prime sandbox delete SANDBOX_ID

    Use the ID from the create command to stop compute charges.

Rate your experience