Skip to content

Commit 0bbbe65

Browse files
authored
docs: document cloned workspace volume size (#25706)
## Summary Document `DOCKER_SANDBOXES_CLONED_WORKSPACE_SIZE` in the disk-space troubleshooting guidance, including a `100g` clone-mode creation example. @netlify /ai/sandboxes/troubleshooting/ Preview: [Troubleshooting](https://deploy-preview-25706--docsdocker.netlify.app/ai/sandboxes/troubleshooting/) Generated by Codex
2 parents 1f39b97 + 7338e9f commit 0bbbe65

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

content/manuals/ai/sandboxes/troubleshooting.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,15 @@ $ DOCKER_SANDBOXES_ROOT_SIZE=40g sbx run claude
210210
`DOCKER_SANDBOXES_ROOT_SIZE` controls the root filesystem size. `DOCKER_SANDBOXES_DOCKER_SIZE`
211211
controls the Docker data disk (`/var/lib/docker`) size. The two are independent — set both if needed.
212212

213+
For a [clone-mode sandbox](usage.md#clone-mode), set
214+
`DOCKER_SANDBOXES_CLONED_WORKSPACE_SIZE` before creating the sandbox to
215+
configure the cloned workspace volume capacity. The variable accepts
216+
human-readable size strings such as `100g`:
217+
218+
```console
219+
$ DOCKER_SANDBOXES_CLONED_WORKSPACE_SIZE=100g sbx run --clone claude
220+
```
221+
213222
## Filesystem operations are slow in large repositories
214223

215224
Filesystem operations such as `git status`, `git log`, or directory scans can

0 commit comments

Comments
 (0)