Docker Sandboxes lets you run AI coding agents in isolated environments on your machine. Sandboxes provides a secure way to give agents autonomy without compromising your system.
Why use Docker Sandboxes
AI agents need to execute commands, install packages, and test code. Running them directly on your host machine means they have full access to your files, processes, and network. Docker Sandboxes isolates agents in microVMs, each with its own Docker daemon. Agents can spin up test containers and modify their environment without affecting your host.
AI agents need to execute commands, install packages, and test code. Running them directly on your host machine means they have full access to your files, processes, and network. Docker Sandboxes isolates agents in microVMs, each with its own Docker daemon. Agents can spin up test containers and modify their environment without affecting your host.
cd ~/my-project
docker sandbox run AGENT
Replace AGENT with your preferred agent (claude, codex, copilot, etc.). The workspace defaults to your current directory when omitted. You can also specify an explicit path:
docker sandbox run AGENT ~/my-project
No comments:
Post a Comment