# Deno Sandbox vs Docker Sandboxes

> Docker Sandboxes scores 62.1 (B) to Deno Sandbox's 50.8 (D) for code sandboxes. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/deno-sandbox-vs-docker-sandboxes
- Markdown: https://www.anchorterminal.com/compare/deno-sandbox-vs-docker-sandboxes.md (~5,550 tokens)
- Slim: https://www.anchorterminal.com/compare/deno-sandbox-vs-docker-sandboxes.min.md (~1,130 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/deno-sandbox-vs-docker-sandboxes.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-18

Docker Sandboxes scores 62.1 (B) on agent readiness against Deno Sandbox's 50.8 (D), and leads in 6 of 7 scored categories. Deno Sandbox leads on payments & pricing. Both do code sandboxes.

- Deno Sandbox: grade D, 50.8/100, rank #1142 of 1557. Markdown https://www.anchorterminal.com/tools/deno-sandbox.md · JSON https://www.anchorterminal.com/api/v1/tools/deno-sandbox.json
- Docker Sandboxes: grade B, 62.1/100, rank #698 of 1557. Markdown https://www.anchorterminal.com/tools/docker-sandboxes.md · JSON https://www.anchorterminal.com/api/v1/tools/docker-sandboxes.json
- Best code execution sandboxes for AI agents: https://www.anchorterminal.com/best/code-sandboxes/index.md
- All 325 sandboxes comparisons: https://www.anchorterminal.com/compare/code-sandboxes/index.md

## Which one, for what

### Deno Sandbox (D)

Good for: Short runs of untrusted or generated code that need outside API keys kept out of reach, for teams already on Deno Deploy, until Deploy closes six months after 9 October 2026.

Ahead on:
- Payments & pricing, 30 against 0

Watch for: Deno Deploy, which runs Sandbox, shuts down six months after the 9 October 2026 announcement, and Deno is moving its development to Cloudflare

### Docker Sandboxes (B)

Good for: Running coding agents such as Claude Code or Codex in a disposable cloud VM, or the same kit locally for free.

Ahead on:
- Schema & documentation, 90 against 66
- Agent ergonomics, 83 against 60
- Security & auth, 69 against 58
- Maintenance & community, 71 against 45
- Transparency & trust, 77 against 67

Watch for: Docker Agentic Platform, needed for every cloud interface, is experimental, and no SLA was found


## Why the edge

### Payments & pricing: Deno Sandbox +30

- Deno Sandbox (30): No x402, MPP or L402 (0). Unit prices are public without a login, $0.10 a CPU-hour, $0.025 a GiB-hour and $0.20 a GiB-month (20). The Free plan does not include sandboxes, and no trial was found (0). A person signs up at console.deno.com in a browser and creates the token (0). 0+20+0+0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
- Docker Sandboxes (0): No x402, MPP or L402 (0). Compute is metered per second by size, but neither the docs, the Docker Sandboxes product page nor docker.com/pricing publishes a unit price. The plans page says usage and pricing show on the Usage & billing page after sign-in (0). Signup to Docker Agentic Platform asks for billing and payment details at checkout, with a one-time promotional credit after, so there is no card-free start for cloud sandboxes (0). A person subscribes in a browser and creates the access token (0). The free local `sbx` CLI is not the graded surface. 0+0+0+0 = 0.

### Maintenance & community: Docker Sandboxes +26

- Deno Sandbox (45): Deno 2.9.7 (16 September 2026, 49 days ago) includes a fix to how the `deno sandbox` command passes its arguments, the newest release touching the product. `deno-sandbox` 0.16.0 shipped on 22 July 2026, and `@deno/sandbox` 0.13.2 on 16 March per the 8 October check (20). One release in the 90 days from 6 August (0). The Deploy changelog stops at 12 March 2026. Support is by Discord, and by email on paid plans. The Python repository showed one open issue or pull request on 8 October (7). Official JavaScript and Python SDKs, the JavaScript one unchanged since March (12). The Python repository runs formatting, lint, type checks and offline tests in CI. The JavaScript SDK's source repository is not public (6). 20+0+7+12+6 = 45.
- Docker Sandboxes (71): `sbx` 0.54.0 on 16 November 2026, per the dated release notes (30). Stable releases 0.51.0 on 3 November, 0.53.0 on 11 November and 0.54.0 on 16 November, with nightly builds tagged daily in docker/sbx-releases (20). Closed service with dated release notes and GitHub issues on docker/sbx-releases as the feedback channel. Issue response times could not be read (8). One official SDK, `@docker/sandboxes` for TypeScript, plus the CLI (10). Source and CI are not public, so package health is unchecked (3). 30+20+8+10+3 = 71.

### Schema & documentation: Docker Sandboxes +24

- Deno Sandbox (66): The published OpenAPI document has no sandbox operations, so the typed TypeScript SDK reference on JSR and the typed Python SDK count as 15 of 25 (15). llms.txt and every docs page as Markdown (10). The docs state use cases, when to choose a duration timeout and when to move work to a Deploy app (13). Typed options with stated ranges for memory, capacity and timeout (12). Examples in JavaScript, sync and async Python and the CLI. No error reference was found, and two pages disagree on the default network policy (8). SDKs are versioned at 0.x, and the Deploy changelog's newest entry is 12 March 2026 (8). 15+10+13+12+8+8 = 66.
- Docker Sandboxes (90): An OpenAPI 3.2 document for the Sandboxes API with 42 paths and 58 operations, each with a description, in the docs repository and linked from the API reference (25). The docs build emits llms.txt, llms-full.txt and a Markdown copy of every page, per the repository's Hugo configuration (10). Operation descriptions are short and generated in form ("List lists directory entries by path ascending"), and the concepts and cookbook pages explain when to use kits, images, snapshots and volumes (12). Typed inputs with 95 enums, required fields and `additionalProperties` constraints (13). 36 cookbook recipes in TypeScript and an errors page with a code table (15). Paths are versioned under `/v1`, and dated release notes cover `sbx` and the Agentic Platform (15). 25+10+12+13+15+15 = 90.

### Agent ergonomics: Docker Sandboxes +23

- Deno Sandbox (60): Sandbox and volume objects are small, and command output streams (15). Lists use cursor pagination with search, label and status filters (15). The Python SDK raises errors with a status, code, message and trace id, and validation errors with a field path, but the codes are not documented (10). No idempotency keys. A duration sandbox can be rejoined by id, and volume slugs are unique per organisation (5). `Sandbox.create()` needs no parameters, with JavaScript and Python SDKs and a CLI (15). 15+15+10+5+15 = 60.
- Docker Sandboxes (83): Lists take `pageSize` and `pageToken`, and filters and ordering are given per operation, so responses can be kept small (15). Pagination and a `filter` parameter of exact-match terms on list operations (18). Errors carry a stable `code`, a message and typed `google.rpc.ErrorInfo` details, with a documented action for each of eight codes (20). `Idempotency-Key` on mutations, `If-Match` etags on updates and deletes, and a documented recovery path for lost responses and failed waits (20). Kit launch helpers default to the `small` size, but the SDK is TypeScript only, with the `sbx` CLI and plain REST beside it (10). 15+18+20+20+10 = 83.

### Security & auth: Docker Sandboxes +11

- Deno Sandbox (58): One organisation token with no scopes or expiry found, rotatable from the dashboard, which also manages the organisation's Deploy apps. All members hold owner permissions (15). An outbound allowlist and read-only volume mounts exist, but outbound access is open unless `allowNet` is set, per the Security page (13). Secret substitution outside the VM is documented as a defence against prompt injection followed by exfiltration (13). Commands, HTTP requests and SSH sessions are traced in the dashboard with an event log (10). A disclosure policy with safe harbour and a reporting route at security@deno.com, with no acknowledgement time, and a security.txt without an Expires field (7). The SOC2 and ISO27001 claims read on 8 October are no longer on the product or pricing pages, and no bug bounty was found. `exposeHttp` URLs are public without authentication, which the docs state in capitals. 15+13+13+10+7 = 58.
- Docker Sandboxes (69): A Docker personal access token with the `sandbox:use` scope, exchanged by the SDK for short-lived access tokens, or browser device sign-in, with a named permission checked per operation. No PAT expiry or rotation guidance was read (25). Account and per-sandbox network policy with a deny-all preset, deny rules winning, and etags required on updates and deletes. Policy presets let a sandbox reach any host when allow-all or Open is chosen (14). Credentials are injected by a proxy outside the VM, so an agent inside never sees raw keys, and egress is limited to allowed destinations (12). Network policy decision logs per sandbox through `/v1/policy-logs`. No account audit log for cloud sandboxes found (8). SECURITY.md in docker/sbx-releases sends reports to security@docker.com with acknowledgement within 72 hours, and Docker's security.txt is valid per the docker-agent check of 1 November. Bug bounty and certifications unchecked (10). 25+14+12+8+10 = 69.

### Transparency & trust: Docker Sandboxes +10

- Deno Sandbox (67): The SDKs are MIT and the platform is closed under terms last modified 30 September 2026 (18). The privacy policy states no retention periods. The docs state that a deleted volume's storage is removed after 24 hours and the pricing table gives log retention of 1 day to 1 week. The terms grant Deno a licence over user data for internal business purposes including benchmarking. No public DPA was found (10). Deno's post of 9 October 2026 gives dated notice that Deno Deploy, which runs Sandbox, will keep operating for six months before shutting down. There is no general deprecation policy, and the terms allow changes or discontinuation without notice (15). Two regions are named. No sub-processor list found (7). 18+10+15+7 = 50.
- Docker Sandboxes (77): Closed software. The release repository's licence reserves all rights, and Docker's Subscription Service Agreement (26 August 2026) names Agentic Platform Services and Sandboxes (15). The privacy policy names the Agentic Platform and cloud sandboxes and says they're hosted in the United States, and the Agentic Platform FAQ gives retention for service logs (31 days), raw telemetry (12 months) and snapshots (seven days of non-use). The DPA wasn't read (20). Release notes call out breaking changes and deprecations by version and date, such as `sbx ports`, and the Agentic Platform docs warn that behaviour may change while it is experimental (10). CLI telemetry is disclosed with two opt-outs, and the hosting location is stated. No sub-processor list for cloud sandboxes was found (12). 15+20+10+12 = 57.

## Score by category

| Category | Weight | Deno Sandbox | Docker Sandboxes | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 43 | 45 | Docker Sandboxes +2 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 66 | 90 | Docker Sandboxes +24 |
| Agent ergonomics | 13% | 60 | 83 | Docker Sandboxes +23 |
| Security & auth | 14% | 58 | 69 | Docker Sandboxes +11 |
| Payments & pricing | 10% | 30 | 0 | Deno Sandbox +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 45 | 71 | Docker Sandboxes +26 |
| Transparency & trust | 7% | 67 | 77 | Docker Sandboxes +10 |
| Negative events | ≤15 | -2 | 0 | |
| **Total** | | **50.8 · D** | **62.1 · B** | |

## Facts side by side

| Fact | Deno Sandbox | Docker Sandboxes |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Deno Land Inc. | Docker |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | HTTP |
| Auth | API key | OAuth or key |
| Pricing | Paid | Pay per use |
| x402 | no | no |
| Licence | Proprietary service under the Deno Deploy terms and conditions. The `@deno/sandbox` and `deno-sandbox` SDKs are MIT | Proprietary. The `sbx` binaries in docker/sbx-releases are under a licence that reserves all rights to Docker Inc., and cloud sandboxes run under a Docker Agentic Platform subscription |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| Last release | 2026-07-22 | 2026-11-16 |
| Terms last updated | 2026-09-30 | 2026-08-26 |
| Privacy policy last updated | 2026-09-30 | 2026-08-26 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | yes | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 6 stars, 2k npm/wk | 527 stars |

## How the scores have moved

### Deno Sandbox

- +1.3 on 13 November 2026: checklist
- -0.9 on 4 November 2026: product, correction
- +0.1 on 27 October 2026: checklist

### Docker Sandboxes

- +4.7 on 18 November 2026 (C to B): terms, new evidence

## Verdicts

**Deno Sandbox.** Secrets stay outside the microVM and are substituted only on outbound requests to approved hosts, and an allowlist limits egress. Deno Deploy, which runs it, is due to shut down six months after 9 October 2026, when Deno announced it is joining Cloudflare. The service is still in beta, needs the $20 Pro plan and caps lifetime at 30 minutes.

**Docker Sandboxes.** The cloud Sandboxes API has a public OpenAPI contract, idempotency keys, etag checks and credential injection that keeps keys out of the VM. Cloud access needs a paid Docker Agentic Platform subscription that is still experimental, and the docs publish no unit prices.

## Before you call either

### Deno Sandbox

1. Set `DENO_DEPLOY_TOKEN` to an organisation token (prefix `ddo_`) from Settings in console.deno.com. The organisation must be on Pro or above
2. Pass `allowNet` on every `Sandbox.create()`. The Security page says outbound access is unrestricted when it is omitted
3. Pass credentials through `secrets` with a `hosts` list, not `env`, so code in the VM sees only a placeholder
4. The default timeout ends the VM when the client disconnects. Pass a duration such as `"10m"` and reconnect with `Sandbox.connect({ id })`, up to 30 minutes
5. Create volumes in `ord` and start the sandbox in `ord`. A volume mounts only in its own region
6. `exposeHttp` URLs are public with no authentication. Treat the random subdomain as a secret
7. Plan a move before Deno Deploy closes, six months after 9 October 2026. Deno gives migration support to Cloudflare Workers for paying customers only

### Docker Sandboxes

1. Create the Docker personal access token with Allow Cloud Sandboxes access. Registry permissions alone don't grant the `sandbox:use` scope
2. Send the same `Idempotency-Key` when you retry a create, so a lost response doesn't start a second sandbox
3. Pass the etag from your latest read in `If-Match`. A stale etag returns 412 and a missing one 428
4. Set `--ttl` and `--on-timeout` at creation. The default deletes sandboxes that can't be resumed after one hour
5. Set the account network policy to deny-all and add allow rules per sandbox, since allow-all lets the sandbox reach any host

## Questions

### Which is better for AI agents, Deno Sandbox or Docker Sandboxes?

Docker Sandboxes scores 62.1 (B) on agent readiness against Deno Sandbox's 50.8 (D), and leads in 6 of 7 scored categories. Deno Sandbox leads on payments & pricing.

### Do Deno Sandbox and Docker Sandboxes need an API key?

Deno Sandbox needs an API key. Docker Sandboxes takes an API key or an OAuth sign-in.

### Can an agent call Deno Sandbox and Docker Sandboxes without installing anything?

No hosted endpoint is listed for Deno Sandbox. No hosted endpoint is listed for Docker Sandboxes.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/deno-sandbox-vs-docker-sandboxes.json, and with the fewest tokens: https://www.anchorterminal.com/compare/deno-sandbox-vs-docker-sandboxes.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "deno-sandbox", "b": "docker-sandboxes"}`. From a terminal: `anchor compare deno-sandbox docker-sandboxes`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/deno-sandbox.json and https://www.anchorterminal.com/api/v1/tools/docker-sandboxes.json

## Other comparisons with Deno Sandbox or Docker Sandboxes

- [Amazon Bedrock AgentCore Code Interpreter vs Deno Sandbox](https://www.anchorterminal.com/compare/agentcore-code-interpreter-vs-deno-sandbox.md)
- [Amazon Bedrock AgentCore Code Interpreter vs Docker Sandboxes](https://www.anchorterminal.com/compare/agentcore-code-interpreter-vs-docker-sandboxes.md)
- [Blaxel Sandboxes vs Deno Sandbox](https://www.anchorterminal.com/compare/blaxel-sandboxes-vs-deno-sandbox.md)
- [Blaxel Sandboxes vs Docker Sandboxes](https://www.anchorterminal.com/compare/blaxel-sandboxes-vs-docker-sandboxes.md)
- [boat vs Deno Sandbox](https://www.anchorterminal.com/compare/boat-vs-deno-sandbox.md)
- [boat vs Docker Sandboxes](https://www.anchorterminal.com/compare/boat-vs-docker-sandboxes.md)
- [Celesto (formerly SmolVM) vs Deno Sandbox](https://www.anchorterminal.com/compare/celesto-vs-deno-sandbox.md)
- [Celesto (formerly SmolVM) vs Docker Sandboxes](https://www.anchorterminal.com/compare/celesto-vs-docker-sandboxes.md)
- [Cloudflare Sandbox SDK vs Deno Sandbox](https://www.anchorterminal.com/compare/cloudflare-sandbox-sdk-vs-deno-sandbox.md)
- [Cloudflare Sandbox SDK vs Docker Sandboxes](https://www.anchorterminal.com/compare/cloudflare-sandbox-sdk-vs-docker-sandboxes.md)
- [Daytona vs Deno Sandbox](https://www.anchorterminal.com/compare/daytona-vs-deno-sandbox.md)
- [Daytona vs Docker Sandboxes](https://www.anchorterminal.com/compare/daytona-vs-docker-sandboxes.md)
- [Deno Sandbox vs DigitalOcean Managed Agents](https://www.anchorterminal.com/compare/deno-sandbox-vs-digitalocean-managed-agents.md)
- [Deno Sandbox vs E2B](https://www.anchorterminal.com/compare/deno-sandbox-vs-e2b.md)
- [Deno Sandbox vs Freestyle](https://www.anchorterminal.com/compare/deno-sandbox-vs-freestyle.md)
- [Deno Sandbox vs InstaVM](https://www.anchorterminal.com/compare/deno-sandbox-vs-instavm.md)
- [Deno Sandbox vs Maritime](https://www.anchorterminal.com/compare/deno-sandbox-vs-maritime.md)
- [Deno Sandbox vs Microsoft Execution Containers](https://www.anchorterminal.com/compare/deno-sandbox-vs-microsoft-execution-containers.md)
- [Deno Sandbox vs Modal Sandboxes](https://www.anchorterminal.com/compare/deno-sandbox-vs-modal-sandboxes.md)
- [Deno Sandbox vs Morph Cloud](https://www.anchorterminal.com/compare/deno-sandbox-vs-morph-cloud.md)
- [Deno Sandbox vs Offscreen](https://www.anchorterminal.com/compare/deno-sandbox-vs-offscreen.md)
- [Deno Sandbox vs SPACE](https://www.anchorterminal.com/compare/deno-sandbox-vs-perplexity-space.md)
- [Deno Sandbox vs Render Sandboxes](https://www.anchorterminal.com/compare/deno-sandbox-vs-render-sandboxes.md)
- [Deno Sandbox vs Runloop Devboxes](https://www.anchorterminal.com/compare/deno-sandbox-vs-runloop.md)
- [Deno Sandbox vs Sandbox0](https://www.anchorterminal.com/compare/deno-sandbox-vs-sandbox0.md)
- [Deno Sandbox vs Sprites](https://www.anchorterminal.com/compare/deno-sandbox-vs-sprites.md)
- [Deno Sandbox vs Together Code Sandbox](https://www.anchorterminal.com/compare/deno-sandbox-vs-together-code-sandbox.md)
- [Deno Sandbox vs Vercel Sandbox](https://www.anchorterminal.com/compare/deno-sandbox-vs-vercel-sandbox.md)
- [DigitalOcean Managed Agents vs Docker Sandboxes](https://www.anchorterminal.com/compare/digitalocean-managed-agents-vs-docker-sandboxes.md)
- [Docker Sandboxes vs E2B](https://www.anchorterminal.com/compare/docker-sandboxes-vs-e2b.md)
- [Docker Sandboxes vs Freestyle](https://www.anchorterminal.com/compare/docker-sandboxes-vs-freestyle.md)
- [Docker Sandboxes vs InstaVM](https://www.anchorterminal.com/compare/docker-sandboxes-vs-instavm.md)
- [Docker Sandboxes vs Maritime](https://www.anchorterminal.com/compare/docker-sandboxes-vs-maritime.md)
- [Docker Sandboxes vs Microsoft Execution Containers](https://www.anchorterminal.com/compare/docker-sandboxes-vs-microsoft-execution-containers.md)
- [Docker Sandboxes vs Modal Sandboxes](https://www.anchorterminal.com/compare/docker-sandboxes-vs-modal-sandboxes.md)
- [Docker Sandboxes vs Morph Cloud](https://www.anchorterminal.com/compare/docker-sandboxes-vs-morph-cloud.md)
- [Docker Sandboxes vs Offscreen](https://www.anchorterminal.com/compare/docker-sandboxes-vs-offscreen.md)
- [Docker Sandboxes vs SPACE](https://www.anchorterminal.com/compare/docker-sandboxes-vs-perplexity-space.md)
- [Docker Sandboxes vs Render Sandboxes](https://www.anchorterminal.com/compare/docker-sandboxes-vs-render-sandboxes.md)
- [Docker Sandboxes vs Runloop Devboxes](https://www.anchorterminal.com/compare/docker-sandboxes-vs-runloop.md)
- [Docker Sandboxes vs Sandbox0](https://www.anchorterminal.com/compare/docker-sandboxes-vs-sandbox0.md)
- [Docker Sandboxes vs Sprites](https://www.anchorterminal.com/compare/docker-sandboxes-vs-sprites.md)
- [Docker Sandboxes vs Together Code Sandbox](https://www.anchorterminal.com/compare/docker-sandboxes-vs-together-code-sandbox.md)
- [Docker Sandboxes vs Vercel Sandbox](https://www.anchorterminal.com/compare/docker-sandboxes-vs-vercel-sandbox.md)
- [Agent 37 Cloud vs Deno Sandbox](https://www.anchorterminal.com/compare/agent37-vs-deno-sandbox.md)
- [Agent 37 Cloud vs Docker Sandboxes](https://www.anchorterminal.com/compare/agent37-vs-docker-sandboxes.md)
- [DeltaBox Lite vs Deno Sandbox](https://www.anchorterminal.com/compare/deltabox-lite-vs-deno-sandbox.md)
- [DeltaBox Lite vs Docker Sandboxes](https://www.anchorterminal.com/compare/deltabox-lite-vs-docker-sandboxes.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
