Share feedback
Answers are generated based on the documentation.

sbx

DescriptionManage AI coding agent sandboxes.
Usagesbx COMMAND

Description

Docker Sandboxes creates isolated sandbox environments for AI agents, powered by Docker.

Run without a command to launch interactive mode, or pass a command for CLI usage.

Commands

CommandDescription
sbx attachAttach to a running cloud sandbox
sbx completionGenerate the autocompletion script for the specified shell
sbx cpCopy files or directories between a sandbox and the host
sbx createCreate a sandbox for an agent
sbx daemonManage sandboxd daemon
sbx diagnoseDiagnose common issues with your sbx installation
sbx envexperimental Manage sandboxes declaratively from an sbxenv.yaml file
sbx execExecute a command inside a sandbox
sbx kitexperimental Manage kit artifacts
sbx loginSign in to Docker
sbx logoutStop all running sandboxes and sign out of Docker
sbx lsList sandboxes
sbx mcpManage MCP servers
sbx policyManage sandbox policies
sbx portsManage sandbox port publishing
sbx pruneRemove all stopped sandboxes
sbx resetReset all sandboxes and clean up state
sbx rmRemove one or more sandboxes
sbx runRun an agent in a sandbox
sbx secretManage stored secrets
sbx setupexperimental Detect host configuration and prepare Docker Sandboxes
sbx skillsexperimental Manage skills available in sandboxes
sbx stopStop one or more sandboxes without removing them
sbx templateManage sandbox templates
sbx ttlInspect or extend a cloud sandbox's TTL
sbx tuiOpen the interactive TUI dashboard
sbx versionShow Docker Sandboxes version information
sbx volumeManage persistent volumes (cloud-only)

Options

OptionDefaultDescription
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
--cloud-api-urlhttps://api.sandboxes-cloud.docker.comCloud Sandboxes API base URL; only used with --cloud. Defaults to prod (https://api.sandboxes-cloud.docker.com). Set DOCKER_CLOUD_API_URL or pass this flag to override; a legacy value ending in /v1 is accepted.
-D, --debugEnable debug logging