Docker Sandboxes and Sandscale both put agent code inside a microVM. They are aimed at different moments in an agent’s life. Docker Sandboxes, driven by the sbx CLI, are built around a developer running Claude Code or another coding agent against their own working tree, on their own machine or on Docker-managed cloud compute. Sandscale is built around a program (your orchestrator, a CI job, or an agent over MCP) starting a fresh box for each run and governing what happens in it. Plenty of teams could use both.
Docker facts below come from the Docker Sandboxes overview, architecture and security model pages, read in November 2026. The architecture and security pages describe local sandboxes; Docker has a separate page comparing local and cloud. Sandscale facts come from sandscale.dev.
Isolation
Docker says “the primary trust boundary is the microVM”. Inside, the agent has full control, including sudo, package installs and its own Docker Engine, with no path to the host’s Docker daemon. Docker lists five layers: hypervisor isolation with a separate kernel per sandbox, network isolation, Docker Engine isolation, workspace isolation and credential isolation.
Sandscale gives each agent run its own Firecracker microVM with its own kernel; nothing is shared with the run next to it. The box starts from a template, runs the commands you send, and goes away when you stop it.
Both are VM boundaries. The difference is what crosses them.
What crosses the boundary
This is where Docker’s design is most interesting, because a local sandbox exists to work on your files.
Workspace. In direct mode, your working directory is mounted read-write through a filesystem passthrough, so “the agent edits your working tree in place”. Docker’s security page warns that this includes files that run implicitly later: Git hooks, CI configuration, IDE task configs, Makefile, package.json scripts. It notes that Git hooks live in .git/ and do not show up in git diff. Clone mode mounts your repository read-only and gives the agent a private clone. A mountless sandbox shares nothing.
Credentials. Docker’s host-side proxy injects authentication headers into outbound HTTP requests. The agent sees a sentinel value, and “the raw credential values never enter the VM”.
Network. All outbound TCP goes through a proxy on the host and follows a deny-by-default policy. Docker also cautions that “the default allowed domains include broad wildcards”, such as *.googleapis.com, and suggests running sbx policy ls and removing what you do not need. UDP is blocked unless you enable an experimental feature; ICMP is blocked.
MCP. Agents connect to an MCP gateway on the host side. Local stdio MCP servers run on the host, not in the VM, so Docker advises treating them as trusted host integrations.
Sandscale has no host to share. Files go in and out through the API (writeFile, a project upload, reads back), so nothing the agent writes lands in your working tree until you choose to apply it. The network starts as none; allowlist uses your organization’s egress allowlist and package registry presets. Secrets come from Vault into the sandbox’s environment in memory and end with the run. They are kept out of prompts, logs, the API’s answer and the audit log, but code inside the box can read them. Docker’s proxy-injection design keeps the credential out of the VM entirely, and if that property matters to you, it is a point in Docker’s favour.
Lifecycle and persistence
Docker sandboxes “persist until explicitly removed”. Stopping an agent keeps the VM, installed packages, Docker images and files; sbx rm deletes it all. That suits a developer who returns to the same environment every day.
Sandscale sandboxes are disposable by default, with a lifetime you set (timeoutSeconds, server default one hour). Pause keeps memory and files on every plan, and snapshots let new sandboxes start from a saved point. For a persistent cloud machine, Sandscale has workspaces, which sleep when idle.
Cost and governance
Docker says the sbx CLI and local sandbox compute “are free to use, including for commercial work”. Cloud sandboxes use a pay-as-you-go subscription, and organization-wide control of network, filesystem and MCP policies for local sandboxes is “available on a separate paid subscription”. We have not quoted cloud prices because the pages we read do not list them.
Sandscale bills in awake vCPU-hours on a plan: Free includes 100 a month, Pro ($25 a month billed monthly) 1,500, Team ($48 per member a month billed monthly) 2,000 per member pooled. Paused time and idle time between tool calls do not count. Human approvals, a hash-chained audit log, Vault and DLP on prompts and MCP tool calls are on every plan, and Claude Code can run under your policy through its hooks. Team adds SSO, roles and audit export. See pricing and security.
Which one fits
| Situation | Better fit |
|---|---|
| A developer runs Claude Code on their own repo and wants it off the bare host | Docker Sandboxes, local |
| The agent needs its own Docker Engine to build and run containers | Docker Sandboxes (each has an isolated daemon) |
| Credentials must never enter the VM | Docker Sandboxes (host proxy injection) |
| Your service starts many short agent runs from code, each needing a fresh box | Sandscale |
| You need approvals, a hash-chained audit log and DLP across a team, without a separate subscription per feature | Sandscale |
| Agent PRs from CI need to run tests somewhere other than the runner | Sandscale (see running untrusted PR code) |
The two also combine: a developer can work in a Docker sandbox locally while the same agent’s automated runs in CI or production go to Sandscale.
Two honest caveats on our side: Sandscale runs in the US (N. Virginia) today, with Europe (Frankfurt) announced and not open yet, and our service levels page says there is no availability commitment or service credit yet.