Top
Best
New

Posted by etoxin 10 hours ago

Docker Sandboxes – Disposable, isolated sandboxes for AI agents(www.docker.com)
433 points | 267 commentspage 8
navigate8310 9 hours ago|
Here's another sandbox that I found interesting: https://github.com/ashishb/amazing-sandbox
_pdp_ 8 hours ago|
Very interesting. Thanks for sharing.
threethirtytwo 3 hours ago||
I don't want this that bad. I want the agent to have open access to my system because it actually does important administrative things for me. It is THAT convenient and powerful.

Here's what I want: REALTIME OBSERVABILITY/POWERPOINT.

I don't want to just see what command it ran. I need graphics... what part of the file system it is touching, what network entities it is contacting. If it's running SQL I want the parsed query handed to me in a syntax highlighted and well formatted interface. Imagine that star trek computer presenting automated infographics while someone is doing a presentation, you know what I'm talking about? It's like a automated powerpoint as the agent does it's thing.

I need to understand my agent and what it typically does so I can dangerously wield it. I treat the agent like a gun in a live shooting scenario. That's how I want to use the LLM.

Sandboxes have their purpose. Just like how shooting ranges have their purposes. But I need to fire my gun in the real world and real world is a warzone.

AmazingTurtle 9 hours ago||
So it's basically a container with a fancy name, innit?
runtime_lens 9 hours ago||
TO me, that's the important distinction: sandboxing limits what the agent can do but it doesn't necessarily enforce that the agent must run inside the sandbox. You need a separate control layer to enforce that boundary.
nezhar 9 hours ago|
You design the sandbox so the agent starts in that layer. The next thing you can do is to limit the network access, this is what I'm working on right now.

Or do you mean something else?

globular-toast 8 hours ago||
On Linux, you can skip Docker and use bubblewrap. Some inspiration: https://blog.gpkb.org/posts/ai-agent-sandbox/
angry_octet 8 hours ago|
Bubble wrap is just containerisation no?
globular-toast 8 hours ago||
Not sure what you mean by "just". Containerisation is generally understood to mean something like what Docker does, which includes sandboxing but a whole lot more on top, like image management etc. Bubblewrap is just sandboxing without the rest of containerisation.
mihaelm 7 hours ago||
Docker Sandboxes is using microVMs, not containerization.
weebull 8 hours ago||
...or...just hear me out now...we could limit it in the harness.

Don't give it shell access, just predefined tools.

mikesir87 58 minutes ago||
Disclaimer - on the Docker DevRel team

One of the demos I run is how easy it is to circumvent the harness limits. For example, I can configure a harness not to access file `secrets.txt`. But, then I can immediately have it create a Python file that can read any file and have it read `secrets.txt`.

At the end of the day, "please" isn't security. You want to know that the agent can only do and access the things it should access.

killerstorm 7 hours ago||
What if it puts malicious code into test file and you allow `npm run test `?
quantumwoke 6 hours ago||
Just a small meta note: most of the comments in this thread appear to be posting their own codebase (typically AI-generated) that accomplishes the same goal. It's interesting that this problem is simultaneously in high demand and yet considered trivial enough to vibe code per-user solutions to it.
cryptoz 9 hours ago||
The linked page implies there is no linux support, I wonder why. It's there in the docs if you hunt for it.
etoxin 9 hours ago|
The docs are here: https://docs.docker.com/ai/sandboxes/

The other url is their marketing page.

Yes, Linux is supported.

blueaquilae 9 hours ago||
Docker management will fail their tech at every opportunity.
lubo92 1 hour ago|
[flagged]
More comments...