docker sandbox create claude
| Description | Create a sandbox for claude |
|---|---|
| Usage | docker sandbox create claude WORKSPACE [EXTRA_WORKSPACE...] |
Description
WarningThe Docker Desktop-integrated
docker sandboxcommands are deprecated and replaced by the standalonesbxCLI. This deprecation applies only to the Docker Desktop integration, not to Docker Sandboxes.
Create a sandbox with access to a host workspace for claude.
The workspace path is required and will be exposed inside the sandbox at the same path as on the host. Additional workspaces can be provided as extra arguments. Append ":ro" to mount them read-only.
Use 'docker sandbox run SANDBOX' to start claude after creation.
Examples
Create a Claude sandbox in the current directory
$ docker sandbox create claude .
Create with an absolute path
$ docker sandbox create claude /home/user/my-project
Create and then run
$ docker sandbox create --name my-claude claude ~/my-project
$ docker sandbox run my-claude