Skip to content

Commit 31f9a47

Browse files
ndeloofclaude
andcommitted
sandboxes: simplify Docker Engine diagram to one sandbox
Show a single sandbox VM instead of two, drop the incorrect "runs as root" label (the agent is a non-root sudo user, per the hypervisor section), and tint the Host system box with a distinct background. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent debfa21 commit 31f9a47

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

content/manuals/ai/sandboxes/security/isolation.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,25 @@ your host. When the agent runs `docker build` or `docker compose up`, those
6060
commands execute against that engine. The agent has no path to your host Docker
6161
daemon.
6262

63-
Each sandbox VM runs its own Docker Engine. The agent runs as root inside
64-
the VM, alongside that engine — not as a container managed by it — and
65-
drives it to create containers, all within the VM:
63+
Each sandbox VM runs its own Docker Engine. The agent runs inside the VM,
64+
alongside that engine, and drives it to create containers, all within the
65+
VM:
6666

6767
```mermaid
6868
flowchart TB
6969
subgraph host["Host system"]
7070
subgraph hostd["Host Docker daemon"]
7171
hc["Your containers and images"]
7272
end
73-
subgraph vm1["Sandbox 1 (microVM)"]
74-
a1["Agent (runs as root)"]
75-
subgraph e1["Sandbox Docker engine"]
76-
c1["Containers created by agent"]
73+
subgraph vm["Sandbox (microVM)"]
74+
a["Agent"]
75+
subgraph e["Sandbox Docker engine"]
76+
c["Containers created by agent"]
7777
end
78-
a1 -->|"docker build / compose up"| e1
79-
end
80-
subgraph vm2["Sandbox 2 (microVM)"]
81-
a2["Agent (runs as root)"]
82-
subgraph e2["Sandbox Docker engine"]
83-
c2["Containers created by agent"]
84-
end
85-
a2 -->|"docker build / compose up"| e2
78+
a -->|"docker build / compose up"| e
8679
end
8780
end
81+
style host fill:#3b82f622,stroke:#3b82f6
8882
```
8983

9084
## Workspace isolation

0 commit comments

Comments
 (0)