apiKey | string, SecretRef | unset | Daytona API key. Falls back to the DAYTONA_API_KEY environment variable. |
apiUrl | string | Daytona cloud | Daytona API base URL. Falls back to DAYTONA_API_URL. |
target | string | Daytona default | Target region for new sandboxes. Falls back to DAYTONA_TARGET. |
snapshot | string | Daytona default snapshot | Snapshot for new sandboxes. The image needs sh, tar, base64, stat, and python3 on PATH. Mutually exclusive with image. |
image | string | unset | Docker image for new sandboxes, pulled or built by Daytona on first create. Mutually exclusive with snapshot. |
resources | object | unset | { cpu, gpu, memory, disk } for image-based sandboxes (memory and disk in GiB). Omitted fields use the Daytona defaults (1 vCPU, 1 GB, 3 GiB). Snapshot sandboxes size from the snapshot. |
user | string | snapshot default | OS user for the sandbox. Align the remote workspace dirs with that user’s writable paths. |
volumes | array | unset | Daytona volumes to mount, as { volumeId, mountPath } entries. Reachable from exec; outside the file-tool workspace mounts. |
autoStopInterval | integer (minutes) | 15 (Daytona default) | Minutes of inactivity before Daytona stops the sandbox. 0 keeps it running continuously. |
autoPauseInterval | integer (minutes) | disabled | Minutes of inactivity before Daytona pauses the sandbox (VM-based runners; pause preserves memory state). At most one of auto-stop and auto-pause may be non-zero. |
autoArchiveInterval | integer (minutes) | 7 days (Daytona) | Minutes a stopped sandbox waits before archiving to cold storage. 0 uses the Daytona maximum. |
autoDeleteInterval | integer (minutes) | disabled | Minutes a sandbox may stay stopped before Daytona deletes it. 0 deletes immediately on stop. |
networkBlockAll | boolean | true (egress blocked) | Block all sandbox network egress, matching the Docker backend’s no-network default. Set false for open egress; configuring an allow list implies selective egress. |
networkAllowList | string | unset | Comma-separated CIDR addresses the sandbox may reach. Setting this (with networkBlockAll unset) enables selective egress. |
domainAllowList | string | unset | Comma-separated domains the sandbox may reach. Setting this (with networkBlockAll unset) enables selective egress. |
remoteWorkspaceDir | string | /home/daytona/workspace | Absolute path of the session workspace inside the sandbox. |
remoteAgentWorkspaceDir | string | /home/daytona/agent | Absolute path mirroring the real agent workspace when workspaceAccess is not none. |
timeoutSeconds | number | 120 | Timeout for Daytona API operations (create, upload, filesystem commands). Image-based creates automatically get a higher floor to cover image pulls; raise this when declarative builds need longer. |