Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

Snapshot → Create

AI-generated

Summary

Create a new snapshot from a publicly accessible Docker image, optionally waiting until the snapshot becomes active before returning.

Inputs

  • Name (required) — Unique name for the snapshot within the organization.
  • Image Name (required) — Public Docker image to base the snapshot on.
  • Wait Until Active — Whether to poll until the snapshot is in the "active" state before returning; useful for chaining dependent operations.
  • Wait Timeout (Seconds) — Maximum seconds to wait for the snapshot to become active when waiting is enabled (default 600 seconds).
  • Additional Fields — Optional settings including CPU cores, memory (GB), disk space (GB), entrypoint commands, and the Daytona region to host the snapshot.

Output shape

a single record

Returns the created snapshot object, including its current state. If waiting is enabled, this reflects the active snapshot state; otherwise, it may be in a pending state.

Links

Discussion