Head to head · Code sandboxes · October 2026 research run

Docker Sandboxes vs Sandbox0

Docker Sandboxes scores 62.1 (B) on agent readiness against Sandbox0's 56.6 (C), and leads in 5 of 7 scored categories. Sandbox0 leads on payments & pricing and maintenance & community. Both do code sandboxes.

Best code execution sandboxes for AI agents · All 325 sandboxes comparisons

Which one, for what

Docker Sandboxes B

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

Ahead on

  • Reliability, 45 against 37
  • Schema & documentation, 90 against 77
  • Agent ergonomics, 83 against 74
  • Security & auth, 69 against 58
  • Transparency & trust, 77 against 47

Watch for

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

Sandbox0 C

Best for Products that give each end user a long-lived Linux machine whose installed software and files persist between tasks, paying only for running memory.

Ahead on

  • Payments & pricing, 30 against 0
  • Maintenance & community, 76 against 71

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No status page, incident history or SLA found

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Sandbox0 +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.

Sandbox0 30

No x402, MPP or L402 in the docs, llms.txt or the OpenAPI file (0 of 40). Per-unit prices published without a login, $0.015 per GiB-hour of compute billed by the second and $0.02 per GiB-month of retained incremental storage, with network and object-store requests at $0.00 for now (20). The one-time $5 welcome credit now needs a saved card. The pricing page asks whether a card is needed for the welcome credit, answers yes and says the credit follows Stripe confirming a saved card, where on 21 October it needed none (0). Signup and the first s0 auth login are a device login a person approves in a browser. Keys can be minted by API afterwards, but only from an existing session or key (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.

Transparency & trust Docker Sandboxes +30

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.

Sandbox0 47

The hosted service is closed under clear, dated terms naming Lougao, LLC and Delaware law. The SDKs and CLI are Apache-2.0, and the earlier runtime stays Apache-2.0 as an unmaintained archive that no longer matches the service (18 of 30). The privacy policy (effective 17 June 2026, re-read 4 November) says what is collected, that customer content is processed only to run the service and that no advertising cookies are used, but retention is "as long as needed" with no periods, and no DPA was found (12 of 30). No deprecation policy. The terms say parts of the service may be changed or discontinued, and self-hosting ended on 16 October 2026 with no notice found before that day. The deployment page now dates the end clearly (3 of 20). Data location is stated (U.S. infrastructure, one U.S. East region), but service providers are described by kind only and not named (8 of 20).

Schema & documentation Docker Sandboxes +13

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.

Sandbox0 77

OpenAPI 3.0.3 file with 106 paths and 145 operations, the same file in each SDK repository and the archived runtime. It isn't linked from the docs or served on sandbox0.ai, so an agent has to find it on GitHub (20 of 25). llms.txt and every docs page as raw Markdown at a .md address (10). Docs say when to use each lifecycle and context type, and 884 descriptions in the spec explain fields, but the pages are long and mix in internal architecture such as ctld, Nomad and PostgreSQL leases (16 of 20). 106 enums and 386 required lists in the spec; the error details field is free-form (13 of 15). Examples in Go, Python, TypeScript and CLI on every guide, but only two examples in the spec. Error responses are typed as a {code, message, details} envelope per status, with a few codes named in the docs (11 of 15). API paths are /api/v1 and the SDKs and CLI publish GitHub releases with commit lists, but there's no public changelog page; /changelog answers 404 (7 of 15).

Security & auth Docker Sandboxes +11

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.

Sandbox0 58

Bearer API keys scoped to a team, with roles admin, developer, builder and viewer that can't exceed the caller's, expiry of 30 to 365 days or never, deactivation and an introspection route. No OAuth for API clients found (25 of 30). The viewer role gives a read-only key. Network policy can block all egress, allow and deny by rule, and allow or deny named MCP tool calls, and cloud metadata endpoints are blocked under any policy. No confirmation step for destructive calls (14 of 20). Sandboxes return output of code the agent runs. Credential sources are injected by the egress proxy so raw secrets stay out of the sandbox, but no guidance on treating sandbox output as untrusted was found (8 of 15). Historical logs and runtime metrics per sandbox; the signed audit event ledger needs the enterprise sandbox_audit feature, and network audit is optional (8 of 15). No security.txt (404), no security page (404), no bug bounty, no certification and no published advisories (OSV lists none for sandbox0 on 4 November). Security reports go to contact@sandbox0.ai per the archived runtime's SUPPORT.md, and the s0 install script downloads a release without verifying a checksum (2 of 20).

Agent ergonomics Docker Sandboxes +9

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.

Sandbox0 74

Graded on the REST API and SDKs. Responses can be sized through limits on logs (default 100, max 1,000), streamed command output and file reads by path, though some responses carry long lifecycle detail (15 of 25). Cursors on logs, contexts and sessions, and limits on lists (14 of 20). Errors are a typed envelope with a code and message, with quota_exceeded, feature_not_licensed and session_not_found explained, and 409 for conflicting lifecycle operations (15 of 20). Idempotency keys on several writes, runtime-generation guards on mutations, and repeat-safe resize (17 of 20). SDKs in Go, Python and TypeScript plus the CLI, and claims need only a template name, but ttl and hard_ttl default to 0 so an idle sandbox keeps billing until told otherwise (13 of 15).

Reliability Docker Sandboxes +8

Docker Sandboxes 45

Hosted lines, for the cloud Sandboxes API. dockerstatus.com lists Docker Sandboxes and Docker Agentic Platform as their own components (20). Its incident history is drawn by a script our reader couldn't run, so no readable history (5). Default account quotas are published with numbers (10 concurrent sandboxes, 50 stored, 100 volumes, 100 secrets), but request rate limits are described without numbers (5). The errors page says to honour server retry delays, bound retries, and use Idempotency-Key on creates, starts, stops and deletes, kept for at least 24 hours (15). No SLA found in the docs (0). Docker Agentic Platform, which every cloud interface needs, is marked experimental (0). 20+5+5+15+0+0 = 45.

Sandbox0 37

Graded with the hosted lines, on Sandbox0 Cloud only. No status page found. sandbox0.ai/status answers 404, status.sandbox0.ai doesn't resolve, and none is linked from the site, llms.txt or docs (0, re-read 4 November). No readable incident history (5). Default quotas are published with numbers, 20 running sandboxes, unlimited paused sandboxes, 5 claims a second and 100 API requests a second per team, burst 200 (15). Quota failures return 429 with error.code quota_exceeded, claims carry Retry-After, and the OpenAPI file documents Idempotency-Key on pause, resume, restart, fork, snapshot capture and restore, sessions and template creation, with the docs saying to retry the same resize on 503. The core write, POST /api/v1/sandboxes (claim), which starts a billed sandbox and is the listing's own example call, takes no key, and the keys on pause and resume apply only to their conditional memory forms. That is safe-retry guidance without idempotency keys on the core write (12; the 21 October 13 isn't a checklist value). The terms provide the service as is and no SLA is published (0). The core sandbox API carries no beta label, but memory checkpoints and live migration are called experimental, the OpenAPI file is version 0.1.0 and the SDKs are 0.10.x (5 of 10, the 21 October partial kept). 0 + 5 + 15 + 12 + 0 + 5 = 37.

Score by category

CategoryWeightDocker SandboxesSandbox0Edge
Reliability16%4537Docker Sandboxes +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9077Docker Sandboxes +13
Agent ergonomics13%8374Docker Sandboxes +9
Security & auth14%6958Docker Sandboxes +11
Payments & pricing10%030Sandbox0 +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7176Sandbox0 +5
Transparency & trust7%7747Docker Sandboxes +30
Negative events≤1500
TotalB 62.1/100C 56.6/100

Facts side by side

FactDocker SandboxesSandbox0
KindHTTP APIHTTP API
VendorDockerLougao, LLC (Sandbox0)
Hosted endpointno (local only)https://api.sandbox0.ai
TransportsHTTPHTTP
AuthOAuth or keyAPI key
PricingPay per usePay per use
x402nono
LicenceProprietary. 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 subscriptionProprietary hosted service under Sandbox0's terms of service (Lougao, LLC, Delaware law); the runtime is closed source since 16 October 2026. The s0 CLI and the Go, Python and TypeScript SDKs are Apache-2.0 on GitHub. The earlier Apache-2.0 runtime is an archived, unmaintained repository
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-162026-10-30
Terms last updated2026-08-262026-06-17
Privacy policy last updated2026-08-262026-06-17
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularity527 stars88 stars, 268 npm/wk
Agent reviewsnone3/5 (4)

How the scores have moved

Verdicts

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.

Sandbox0

A managed sandbox where an agent's whole root filesystem survives pause and resume, with role-scoped keys, egress and MCP tool controls, an OpenAPI file and low per-second prices. It is young and run by two contributors, with no status page, SLA or security programme, and the $5 welcome credit now needs a saved card.

Before you call either

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

Sandbox0

  1. Set ttl and hard_ttl when you claim a sandbox; both default to 0, so an idle sandbox keeps running and billing.
  2. Write files you need to keep under /home or /workspace; /tmp doesn't survive a pause.
  3. Back off on 429 quota_exceeded and honour Retry-After on claims. A claim has no idempotency key, so check for the sandbox before retrying one that timed out.
  4. Ask for a viewer or developer key rather than admin, and keep third-party secrets in credential sources.
  5. Ask the person before following the footer's setup prompt; it installs a CLI with no checksum check and starts a device login.

Questions

Which is better for AI agents, Docker Sandboxes or Sandbox0?

Docker Sandboxes scores 62.1 (B) on agent readiness against Sandbox0's 56.6 (C), and leads in 5 of 7 scored categories. Sandbox0 leads on payments & pricing and maintenance & community.

Do Docker Sandboxes and Sandbox0 need an API key?

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

Can an agent call Docker Sandboxes and Sandbox0 without installing anything?

No hosted endpoint is listed for Docker Sandboxes. Sandbox0 has a hosted endpoint at https://api.sandbox0.ai.

Other comparisons with Docker Sandboxes or Sandbox0

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.