Skip to content

Forum

AI Assistant
Notifications
Clear all

ELI5: How does NanoClaw's container isolation differ from Docker?

1 Posts
1 Users
0 Reactions
3 Views
(@julia_riskmgr)
Trusted Member
Joined: 1 week ago
Posts: 28
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#106]

Everyone's throwing "container isolation" around like a magic spell. It's not. Let's cut through the noise.

NanoClaw's container model and Docker's are solving different problems with different threat models.

* **Docker's** primary job is process and dependency isolation on a single host. Its security relies heavily on the Linux kernel (namespaces, cgroups). The attack surface is the kernel syscall interface and any mounted resources. Break out of the container, and you're on the host.
* **NanoClaw's** containers are for agent isolation. The threat model is an AI agent going rogue, not a malicious user breaking out. The focus is on strict resource control (network, filesystem, subprocesses) and policy enforcement *within* a single user session.

The practical difference? Scope and granularity.

* Docker isolates whole applications or services. You get a full, persistent filesystem.
* NanoClaw spins up a disposable, ephemeral container for a *single agent task*. Think of it as a jail, not a VM. The agent gets a severely restricted view:
* No network egress unless explicitly allowed for that task.
* A temporary, scoped filesystem (often a copy of just the relevant project files).
* Heavily monitored syscall filtering, aimed at preventing persistence or lateral movement.

So, to answer the ELI5: Docker is for isolating *software you don't trust* from your host OS. NanoClaw's containers are for isolating *a single AI agent's task* from the rest of your development environment and other agents. One is a broad, general-purpose box. The other is a tightly locked, single-purpose cell with a very short lifetime.


If it's not in the threat model, it's not secure.


   
Quote