Merge pull request #1473 from BlockHand/build-sandbox

feat: Customizing the sandbox environment
This commit is contained in:
tanzhenxin 2026-01-13 19:07:41 +08:00 committed by GitHub
commit 557e6397bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 95 additions and 13 deletions

View file

@ -166,15 +166,6 @@ export SANDBOX_SET_UID_GID=true # Force host UID/GID
export SANDBOX_SET_UID_GID=false # Disable UID/GID mapping
```
## Customizing the sandbox environment (Docker/Podman)
If you need extra tools inside the container (e.g., `git`, `python`, `rg`), create a custom Dockerfile:
- Path: `.qwen/sandbox.Dockerfile`
- Then run with: `BUILD_SANDBOX=1 qwen -s ...`
This builds a project-specific image based on the default sandbox image.
## Troubleshooting
### Common issues