Files
runtime/apps/cli/docs/daytona_sandbox_create.md
zeekay 0c7efccf40 feat: Add new Dockerfiles and improve containerization
- Add main Dockerfile for production builds
- Add Dockerfile.runtime for secure code execution
- Add Dockerfile.runtime.fixed with improved configuration
- Include .dockerignore for build optimization
- Add integration documentation and publishing guides
- Update API and CLI components for better runtime support
- Enhance sandbox and container management features
2025-08-16 23:03:39 -05:00

1.6 KiB

runtime sandbox create

Create a new sandbox

runtime sandbox create [flags]

Options

      --auto-archive int32    Auto-archive interval in minutes (0 means the maximum interval will be used) (default 10080)
      --auto-delete int32     Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping) (default -1)
      --auto-stop int32       Auto-stop interval in minutes (0 means disabled)
      --class string          Sandbox class type (small, medium, large)
  -c, --context stringArray   Files or directories to include in the build context (can be specified multiple times)
      --cpu int32             CPU cores allocated to the sandbox
      --disk int32            Disk space allocated to the sandbox in GB
  -f, --dockerfile string     Path to Dockerfile for Sandbox snapshot
  -e, --env stringArray       Environment variables (format: KEY=VALUE)
      --gpu int32             GPU units allocated to the sandbox
  -l, --label stringArray     Labels (format: KEY=VALUE)
      --memory int32          Memory allocated to the sandbox in MB
      --public                Make sandbox publicly accessible
      --snapshot string       Snapshot to use for the sandbox
      --target string         Target region (eu, us)
      --user string           User associated with the sandbox
  -v, --volume stringArray    Volumes to mount (format: VOLUME_NAME:MOUNT_PATH)

Options inherited from parent commands

      --help   help for runtime

SEE ALSO