Files
docker-docs/data/cli/sandbox/docker_sandbox_create_cagent.yaml
2026-02-24 08:01:08 +01:00

61 lines
1.6 KiB
YAML
Generated

command: docker sandbox create cagent
short: Create a sandbox for cagent
long: |-
Create a sandbox with access to a host workspace for cagent.
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 cagent after creation.
usage: docker sandbox create cagent WORKSPACE [EXTRA_WORKSPACE...]
pname: docker sandbox create
plink: docker_sandbox_create.yaml
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 Cagent sandbox in the current directory
```console
$ docker sandbox create cagent .
```
### Create with an absolute path
```console
$ docker sandbox create cagent /home/user/my-project
```
### Create and then run
```console
$ docker sandbox create --name my-cagent cagent ~/my-project
$ docker sandbox run my-cagent
```
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false