ciab sandbox¶
Manage sandbox lifecycle.
create¶
Create a new sandbox.
| Option | Default | Description |
|---|---|---|
--provider | claude-code | Agent provider |
--name | — | Sandbox name |
--image | — | Custom container image |
--cpu | — | CPU core limit |
--memory | — | Memory limit (MB) |
--disk | — | Disk limit (MB) |
--env, -e | — | Environment variable (repeatable) |
--git-repo | — | Git repo URL to clone (repeatable) |
--credential | — | Credential ID to inject (repeatable) |
--timeout | 300 | Provisioning timeout (seconds) |
ciab sandbox create --provider claude-code --name my-project \
-e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
--git-repo https://github.com/user/repo.git
list¶
List all sandboxes.
get¶
Get sandbox details.
delete¶
Delete a sandbox (irreversible).
start / stop / pause / resume¶
Control sandbox state.
ciab sandbox start <sandbox-id>
ciab sandbox stop <sandbox-id>
ciab sandbox pause <sandbox-id>
ciab sandbox resume <sandbox-id>
stats¶
Show resource statistics.
logs¶
View sandbox logs.
exec¶
Execute a command in the sandbox.