mirror of
https://github.com/docker/docs.git
synced 2026-03-28 23:08:49 +07:00
72 lines
1.9 KiB
YAML
Generated
72 lines
1.9 KiB
YAML
Generated
command: docker sandbox create claude
|
|
short: Create a sandbox for claude
|
|
long: |-
|
|
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.
|
|
usage: docker sandbox create claude WORKSPACE [EXTRA_WORKSPACE...]
|
|
pname: docker sandbox create
|
|
plink: docker_sandbox_create.yaml
|
|
options:
|
|
- option: patch-settings
|
|
value_type: bool
|
|
default_value: "false"
|
|
description: Intercept claude settings API call and patch payload
|
|
deprecated: false
|
|
hidden: true
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
inherited_options:
|
|
- option: debug
|
|
shorthand: D
|
|
value_type: bool
|
|
default_value: "false"
|
|
description: Enable debug logging
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
- option: socket
|
|
value_type: string
|
|
description: |
|
|
Connect to daemon at specific socket path (for development/debugging)
|
|
deprecated: false
|
|
hidden: true
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
examples: |-
|
|
### Create a Claude sandbox in the current directory
|
|
|
|
```console
|
|
$ docker sandbox create claude .
|
|
```
|
|
|
|
### Create with an absolute path
|
|
|
|
```console
|
|
$ docker sandbox create claude /home/user/my-project
|
|
```
|
|
|
|
### Create and then run
|
|
|
|
```console
|
|
$ docker sandbox create --name my-claude claude ~/my-project
|
|
$ docker sandbox run my-claude
|
|
```
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
|