Docker Sandboxes – Disposable, isolated sandboxes for AI agents
41–50 of 440 posts
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#42There is no reason to require a login for creating local mini sandboxes.
If you’re on Apple, native solutions like “container-machine init” come built in and are pretty good, if you’ll only be on Apple hardware.
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#43Wow, I hope one day Linux will be able to support the exclusive MacOs/Windows technology of Docker Sandboxes. (it's in the doc, but kinda strange to not see some instructions on the main page, probably distro related)
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#44Earlier quoted context omitted.
Were you following any patterns/standards/advice on what you needed to protect against? Anything you can point the rest of us to?
You want to prevent the agent/others from reaching your home directory and other things. As long as you don't mount/sync directories/files from/to the container, so no mounting like "-v $(pwd):/app", but instead copy in, then when done, copy out. And of course, instead of doing the "copy in > copy out" process manually, get your local agent to write a bash script that does that for you, given what directory you're in…
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#45Requires login. Garbage.
I build a OSS lightweight, portable VM for those that don't want lock ins: https://github.com/smol-machines/smolvm
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#46Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#47Like many people, I suspect, I used Claude to write my own agent sandbox that suits my needs very well. Investing my time in a propietary product has become a hard sell.
As for Docker Sandboxes, I'll just ask Sol literally right now to see what it does better than my virtdev, and then I'll improve virtdev instead of using Docker.
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#48https://github.com/iodize6399/ai-devcontainer/tree/main/.dev...
Re: Docker Sandboxes – Disposable, isolated sandboxes for AI agents
#49I tried Docker Sandboxes but last time I checked you could not configure custom volume mounts, making more complex setups impossible. For work I need two directories for context for the agent to have access to…