Head to head · Code sandboxes · October 2026 research run

Docker Sandboxes vs Tensorlake Sandboxes

Tensorlake Sandboxes scores 65.8 (B) on agent readiness against Docker Sandboxes's 62.1 (B), and leads in 3 of 7 scored categories. Docker Sandboxes leads on schema & documentation, agent ergonomics, security & auth and transparency & trust. Both do code sandboxes.

Best code execution sandboxes for AI agents · All 351 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

  • Schema & documentation, 90 against 79
  • Agent ergonomics, 83 against 75
  • Security & auth, 69 against 55
  • Transparency & trust, 77 against 63

Watch for

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

Tensorlake Sandboxes B

Best for Long-lived, stateful agent machines that suspend and resume with memory, fork for parallel runs, and keep work in hosted Git or versioned volumes: coding agents, RL rollouts, evals and CI.

Ahead on

  • Reliability, 55 against 45
  • Payments & pricing, 60 against 0
  • Maintenance & community, 82 against 71

Also in its favour

  • Free to start without a card

Watch for

No request rate limits for the control-plane API found in the docs or OpenAPI file

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 Tensorlake Sandboxes +60

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.

Tensorlake Sandboxes 60

No x402, MPP or L402 (0). Per-unit prices published without login, per core-hour, GB-hour and GB-month, with a calculator (30). Free tier at $0 with "no credit card required" per the pricing FAQ and billing docs (30). Signup is in a browser at cloud.tensorlake.ai and keys are made in the dashboard; no programmatic signup or Stripe Projects route found (0). 0 + 30 + 30 + 0 = 60.

Security & auth Docker Sandboxes +14

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.

Tensorlake Sandboxes 55

Project-scoped API keys, revocable from the dashboard, with the permissions of a project member, no scopes, no expiry and rotation by create-then-delete (20). Each CPU sandbox is a microVM with its own kernel, and egress can be switched off or limited with allow and deny lists on a running sandbox, but internet access is on by default (12). The docs advise switching off internet for untrusted or LLM-generated code; we found no guidance on keeping credentials out of a sandbox (8). Process logs are searchable in the console and organisations have admin and member roles, but audit logs are available only on request to support (5). SOC 2 Type 2 and HIPAA per the pricing page and docs, with the report on request through the trust centre, and security@tensorlake.ai for questions. No security.txt (404), bug bounty or public advisories found (10). 20 + 12 + 8 + 5 + 10 = 55.

Transparency & trust Docker Sandboxes +14

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.

Tensorlake Sandboxes 63

The SDK and CLI are Apache-2.0 in tensorlakeai/tensorlake, but the platform that runs sandboxes isn't published (20). The privacy policy (23 September 2026), the DPA and the docs' security page agree that customer content is kept until the customer deletes it and is removed at once on deletion, data isn't used for training, archived sandbox records last 48 hours and application logs 7 days. The free tier's "7 day retention" on the pricing page isn't explained further (20). The terms promise 30 days' notice of changes that materially reduce a customer's rights, and SDK fields are deprecated with warnings, but there's no API deprecation policy (8). AWS S3 storage, US and EU regions, Stripe, Google Analytics and Plausible are named; the full subprocessor list is on a trust centre our reader couldn't render (12). 20 + 20 + 8 + 12 = 60.

Schema & documentation Docker Sandboxes +11

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.

Tensorlake Sandboxes 79

Public OpenAPI 3.1 at docs.tensorlake.ai/api-reference/openapi.yaml, linked from llms.txt, with 43 operations across the sandbox API and the per-sandbox proxy (25). llms.txt, llms-full.txt and Markdown copies of pages (10). The reference explains when to use named or ephemeral sandboxes, wait: false, max_pending_secs and auto_resume, and what each status means (15). Typed fields with enums and documented constraints such as the 1 to 8 GB of RAM per vCPU ratio (12). Examples in CLI, Python and TypeScript on most pages, error codes such as SANDBOX_AUTO_RESUME_DISABLED and TOO_MANY_SESSIONS, and an SDK error guide, but no single error reference (12). API paths are versioned (v2 reference) and SDKs are tagged, but there's no public changelog (5). 25 + 10 + 15 + 12 + 12 + 5 = 79.

Maintenance & community Tensorlake Sandboxes +11

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.

Tensorlake Sandboxes 82

cli-v0.5.165 tagged on 13 November 2026, with Python tensorlake and npm @tensorlakeai/tensorlake at 0.5.165 (30). 48 release tags from 25 August to 13 November 2026 and 124 commits on main since 25 August (20). 42 open issues against 1,047 stars; the five newest open ones (4 September to 27 October) have no replies, while 10 issues were closed since 1 September. No public changelog, but a Slack community (12). Current official Python and TypeScript SDKs (15). GitHub Actions run tests on pushes and pull requests to main, for the Python, TypeScript and HTTP transport code, though their pass state couldn't be read (5). 30 + 20 + 12 + 15 + 5 = 82.

Reliability Tensorlake Sandboxes +10

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.

Tensorlake Sandboxes 55

A status page at status.tensorlake.ai is linked from the home page, but its robots.txt answered 403, so we couldn't read component history (10 of 20, as the page exists but its history is unchecked). No readable incident record (5). No request rate limits for the API found; plan concurrency caps (1, 100, 1,000) and 64 PTY sessions a sandbox are published (5 of 15). The SDKs retry 429, 502, 503 and 504 on reads with Retry-After and randomised backoff, replay only requests that never reached the server, and the docs give a safe-retry route for creates through unique sandbox names (409 on a repeat) (15). The terms of 24 October 2026 commit to 99.9% monthly control-plane availability with service credits (10). Sandboxes are GA (10). 10 + 5 + 5 + 15 + 10 + 10 = 55.

Score by category

CategoryWeightDocker SandboxesTensorlake SandboxesEdge
Reliability16%4555Tensorlake Sandboxes +10
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9079Docker Sandboxes +11
Agent ergonomics13%8375Docker Sandboxes +8
Security & auth14%6955Docker Sandboxes +14
Payments & pricing10%060Tensorlake Sandboxes +60
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7182Tensorlake Sandboxes +11
Transparency & trust7%7763Docker Sandboxes +14
Negative events≤1500
TotalB 62.1/100B 65.8/100

Facts side by side

FactDocker SandboxesTensorlake Sandboxes
KindHTTP APIHTTP API
VendorDockerTensorlake
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthOAuth or keyAPI key
PricingPay per useFreemium
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 subscriptionApache-2.0
Tools exposednone0
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-162026-11-13
Terms last updated2026-08-262026-10-24
Privacy policy last updated2026-08-262026-09-23
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 stars1k stars, 26k npm/wk

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.

Tensorlake Sandboxes

Agents get microVM sandboxes that suspend with memory intact, fork while running and mount hosted Git, with a public OpenAPI file, llms.txt, per-hour prices and a free tier with no card. Request rate limits, a public changelog and a readable status history were not found, and internet access is on by default.

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

Tensorlake Sandboxes

  1. Give a sandbox a name when a retry must not create a second one; a repeat name returns 409, and get_or_create resolves it
  2. Create untrusted-code sandboxes with allow_internet_access: false, or list destinations in allow_out, since egress is on by default
  3. Only named sandboxes suspend and resume; an ephemeral one is gone when terminated, and its record stays under /archived-sandboxes for 48 hours
  4. On Usage Credits a zero balance stops running sandboxes, so check the balance before long jobs
  5. Set wait: false with max_pending_secs to get a 202 and poll, rather than blocking while capacity is short

Questions

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

Tensorlake Sandboxes scores 65.8 (B) on agent readiness against Docker Sandboxes's 62.1 (B), and leads in 3 of 7 scored categories. Docker Sandboxes leads on schema & documentation, agent ergonomics, security & auth and transparency & trust.

Do Docker Sandboxes and Tensorlake Sandboxes need an API key?

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

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

No hosted endpoint is listed for Docker Sandboxes. No hosted endpoint is listed for Tensorlake Sandboxes.

Other comparisons with Docker Sandboxes or Tensorlake Sandboxes

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.