capabilities.work

From Container Image to Running Sandbox

A 4-step recipe with Daytona. We can help you get access.

Recipe · 4 steps

From Container Image to Running Sandbox

with Daytona

Build a snapshot from an image and launch a running sandbox from it.

  1. Register a new snapshot from the supplied container image.
  2. Poll the snapshot until it becomes active, looping while it is building, pending, or pulling, and ending if the build fails.
  3. Create a sandbox backed by the freshly built snapshot.
  4. Poll the sandbox until it reaches started, looping while it is still provisioning and ending if it errors.
What you'll need to have ready
  • apiToken: Daytona API key used as a bearer token.
  • snapshotName: The name of the snapshot to create and then back the sandbox with.
  • imageName: The container image name to build the snapshot from (e.g. ubuntu:22.04).
For your developer

Arazzo workflow daytona-io:image-to-running-sandbox, 4 operations: createSnapshot → getSnapshot → createSandbox → getSandbox. Specs on APIs.io.