Docker Sandboxes
Isolated microVM environments for running coding agents like Claude Code and Codex safely, locally or in the cloud, through one CLI.
At a Glance
Local Docker Sandboxes, free for every developer including commercial and professional work; no Docker Desktop required.
Engagement
Available On
Listed Dec 2026
About Docker Sandboxes
Docker Sandboxes is a Docker product that runs coding agents such as Claude Code and Codex inside isolated microVM environments, on a local machine or on Docker-managed cloud infrastructure. It is controlled through a standalone CLI called sbx, which installs on macOS, Windows, and Linux. Docker's product page positions it as a way to let agents work unattended while keeping the host protected.
What It Is
Docker Sandboxes provides disposable, isolated environments for coding agents. Each sandbox is a microVM with its own kernel and its own private Docker Engine, which Docker says creates a hardware boundary between the agent and the host and avoids the privilege escalation that Docker-in-Docker setups need. Agents are launched with commands like sbx run claude or sbx run codex, and Docker does not require Docker Desktop to use sbx.
Docker lists support for Claude Code, Codex, Gemini, Kiro, Cursor, GitHub Copilot, Warp, NanoClaw and others.
Local to Cloud Workflow
The same microVM model runs locally and on Docker-managed cloud infrastructure. The sbx move command recreates a sandbox's filesystem on the other side, so a job that outgrows a laptop can move to the cloud and be carried back afterward. Agents can be detached and keep running. Docker states that the cloud option uses the same microVM boundary as local use, and its comparison table contrasts this with other sandbox providers.
Kits, MCP, and Secrets
Sandbox Kits are YAML files that give an agent its tools, credentials, network rules, and configuration so it boots the same way each time. Mixin Kits layer capabilities onto Claude Code or Codex, while Agent Kits define a full agent with its image, entrypoint, and reachable network. MCP servers can be enabled per sandbox from a curated catalog shipped with the CLI, and server credentials are kept in the sbx secret store. Docker says real secrets stay on the host and never enter the VM.
Governance Options
For organizations, Docker AI Governance is a separate product that adds network access policies, filesystem controls, and org-wide MCP governance for sandboxes.
Collections
Popular collections
- Read Your Agent's Code Before You Merge
Collection by @presscheck
- Give Your Agent Design Taste
Collection by @linetwk
- Run YOLO Mode Without Risking Your Laptop
Collection by @reproalex
- ADE List - December 2026
Collection by @mateorivera17
Add Docker Sandboxes to one of your collections.
Community Discussions
Be the first to start a conversation about Docker Sandboxes
Share your experience with Docker Sandboxes, ask questions, or help others learn from your insights.
Pricing
Sandboxes
Local Docker Sandboxes, free for every developer including commercial and professional work; no Docker Desktop required.
- Private Docker Engine in every sandbox
- Sign in to Docker with sbx login
- Bring your own key for model inference
Cloud Sandboxes
Pay-as-you-go sandboxes on Docker-managed compute, metered by the second, with no recurring subscription fee.
- Micro (1 vCPU, 2 GB): $0.07/hour
- Small (2 vCPU, 4 GB): $0.14/hour
- Medium (4 vCPU, 8 GB): $0.28/hour
- Large (8 vCPU, 16 GB): $0.56/hour
- XL (16 vCPU, 32 GB): $1.12/hour
- A paused sandbox costs nothing
- Volumes, egress, and hosting public images and Kits are free
- $250 cloud credit promo available
AI Governance
Centrally managed network, filesystem, and MCP policies for the local sandboxes in an organization; priced per organization.
- Sign-in enforcement, audit logs, and native streaming to any SIEM tool
- Policy is set centrally and propagates on developer authentication
Capabilities
Key Features
- MicroVM isolation with its own kernel per sandbox
- Private Docker Engine per sandbox
- Run agents locally or in Docker-managed cloud
- sbx move to transfer sandboxes between local and cloud
- Detach and keep agents running unattended
- Sandbox Kits (Mixin and Agent Kits) defined in YAML
- Per-sandbox MCP server enablement with curated catalog
- Host-side secret store so credentials never enter the VM
- Network policy with deny-all and allowlisted hostnames
- Standalone sbx CLI without Docker Desktop
- Docker-built virtual machine monitor
