CLI
The daytona
command-line tool provides access to Daytona’s core features including managing images and the lifecycle of Daytona Sandboxes. View the installation instructions by clicking here.
This reference lists all commands supported by the daytona
command-line tool complete with a description of their behaviour, and any supported flags.
You can access this documentation on a per-command basis by appending the --help
/-h
flag when invoking daytona
.
daytona version
Print the version number
daytona version [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |
daytona sandbox info
Get sandbox info
daytona sandbox info [SANDBOX_ID] [flags]
Flags
Long | Short | Description |
---|---|---|
--format | -f | Output format. Must be one of (yaml, json) |
--verbose | -v | Include verbose output |
--help | help for daytona |
daytona sandbox list
List sandboxes
daytona sandbox list [flags]
Flags
Long | Short | Description |
---|---|---|
--format | -f | Output format. Must be one of (yaml, json) |
--verbose | -v | Include verbose output |
--help | help for daytona |
daytona sandbox start
Start a sandbox
daytona sandbox start [SANDBOX_ID] [flags]
Flags
Long | Short | Description |
---|---|---|
--all | -a | Start all sandboxes |
--help | help for daytona |
daytona sandbox stop
Stop a sandbox
daytona sandbox stop [SANDBOX_ID] [flags]
Flags
Long | Short | Description |
---|---|---|
--all | -a | Stop all sandboxes |
--help | help for daytona |
daytona sandbox
Manage Daytona sandboxes
daytona sandbox [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |
daytona sandbox create
Create a new sandbox
daytona sandbox create [flags]
Flags
Long | Short | Description |
---|---|---|
--auto-stop | Auto-stop interval in minutes (0 means disabled) | |
--class | Workspace class type (small, medium, large) | |
--cpu | CPU cores allocated to the sandbox | |
--disk | Disk space allocated to the sandbox in GB | |
--env | -e | Environment variables (format: KEY=VALUE) |
--gpu | GPU units allocated to the sandbox | |
--image | Image to use for the sandbox | |
--label | -l | Labels (format: KEY=VALUE) |
--memory | Memory allocated to the sandbox in MB | |
--name | Name of the sandbox | |
--public | Make sandbox publicly accessible | |
--target | Target region (eu, us, asia) | |
--user | User associated with the sandbox | |
--help | help for daytona |
daytona sandbox delete
Delete a sandbox
daytona sandbox delete [SANDBOX_ID] [flags]
Flags
Long | Short | Description |
---|---|---|
--all | -a | Delete all sandboxes |
--force | -f | Force delete |
--help | help for daytona |
daytona image push
Push local image
daytona image push [IMAGE] [flags]
Flags
Long | Short | Description |
---|---|---|
--dockerfile | -f | Path to Dockerfile to build before pushing |
--entrypoint | -e | The entrypoint command for the image |
--help | help for daytona |
daytona login
Log in to Daytona
daytona login [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |
daytona logout
Logout from Daytona
daytona logout [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |
daytona image
Manage Daytona images
daytona image [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |
daytona image create
Create an image
daytona image create [IMAGE] [flags]
Flags
Long | Short | Description |
---|---|---|
--entrypoint | -e | The entrypoint command for the image |
--help | help for daytona |
daytona image delete
Delete an image
daytona image delete [IMAGE_ID] [flags]
Flags
Long | Short | Description |
---|---|---|
--all | -a | Delete all images |
--help | help for daytona |
daytona image list
List all images
daytona image list [flags]
Flags
Long | Short | Description |
---|---|---|
--format | -f | Output format. Must be one of (yaml, json) |
--help | help for daytona |
daytona
Daytona CLI
daytona [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona | |
--version | -v | Display the version of Daytona |
daytona autocomplete
Adds a completion script for your shell environment
daytona autocomplete [bash|zsh|fish|powershell] [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |
daytona docs
Opens the Daytona documentation in your default browser.
daytona docs [flags]
Flags
Long | Short | Description |
---|---|---|
--help | help for daytona |