docs: clarify perSession isolation

This commit is contained in:
Peter Steinberger
2026-01-06 23:22:49 +01:00
parent 39d2ba78b7
commit e05a29395e
4 changed files with 11 additions and 1 deletions

View File

@@ -859,12 +859,15 @@ Defaults (if enabled):
- optional sandboxed browser (Chromium + CDP, noVNC observer)
- hardening knobs: `network`, `user`, `pidsLimit`, `memory`, `cpus`, `ulimits`, `seccompProfile`, `apparmorProfile`
Warning: `perSession: false` means a shared container and shared workspace. No
cross-session isolation.
```json5
{
agent: {
sandbox: {
mode: "non-main", // off | non-main | all
perSession: true,
perSession: true, // recommended for isolation (false = shared container/workspace)
workspaceRoot: "~/.clawdbot/sandboxes",
docker: {
image: "clawdbot-sandbox:bookworm-slim",