# Docker Sandboxes (slim)

> Docker Sandboxes runs AI agents in microVM sandboxes, locally through the sbx CLI or on Docker-managed cloud compute through sbx --cloud, a REST API and a TypeScript SDK. Cloud sandboxes belong to the experimental Docker Agentic Platform.

- Full: https://www.anchorterminal.com/tools/docker-sandboxes.md (~9,150 tokens) · this version ~1,530 tokens · JSON https://www.anchorterminal.com/tools/docker-sandboxes.json · canonical https://www.anchorterminal.com/tools/docker-sandboxes
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-18 · pricing https://www.anchorterminal.com/tools/docker-sandboxes#pricing · reviews https://www.anchorterminal.com/tools/docker-sandboxes#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**B · 62.1/100 · rank #698 of 1557 · #17 in Code execution sandboxes · not agent-ready · confidence medium**


Assessment: 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.

## Facts

- Kind: HTTP API · vendor: Docker · category: Code execution sandboxes · legal entity: Docker, Inc. · provenance 97/100
- Local only (HTTP): npm `@docker/sandboxes`
- Auth: OAuth or key · pricing: Pay per use · x402: no · licence: 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
- Benchmark probes: not run yet, so Performance is pending
- Vendor status page: no problems reported, All Systems Operational (2026-11-18 22:37 UTC)
- Surface listed: The cloud Sandboxes API at connect.docker.com/sandboxes and its TypeScript SDK `@docker/sandboxes`, read from the docs' source in github.com/docker/docs, the published docs, docker.com and the release repository github.com/docker/sbx-releases on 18 November 2026. No account or call was used
- Local sandboxes: The `sbx` CLI also runs sandboxes as microVMs on the user's own machine (macOS 14 on Apple silicon, Windows 11, Ubuntu 24.04), free of charge, with a host workspace mount or private clone, GPU passthrough and a host MCP gateway
- Release status: Docker Agentic Platform, needed for every cloud interface, is marked experimental. `sbx` is at 0.54.0 (16 November 2026)
- Compute sizes: micro 1 CPU and 2 GiB, small 2 and 4 GiB (the kit default), medium 4 and 8 GiB, large 8 and 16 GiB, xl 16 and 32 GiB, on linux/amd64 or linux/arm64 subject to account availability
- Kits: A kit sets a sandbox's base image, agent, setup, network rules and credentials. Docker curates kits for Claude Code, Codex, Antigravity, Hermes and a Shell kit, and public kits can be run by Docker Hub reference
- Network policy: Account and per-sandbox outbound rules with allow-all, balanced and deny-all presets, where deny rules win. HTTP method and path filtering is local only. Published ports are public HTTPS URLs
- Lifecycle: Time-to-live defaults to one hour, extendable to 24 hours from creation, with stop, restart or delete on expiry. Stop keeps memory and filesystem. Snapshots, volumes and registered images persist state
- Retention: Service logs 31 days, raw telemetry 12 months, snapshots deleted after seven days of non-use, per the Agentic Platform FAQ

- Scores: Reliability 45, Performance not tested, Schema & documentation 90, Agent ergonomics 83, Security & auth 69, Payments & pricing 0, Task success not tested, Maintenance & community 71, Transparency & trust 77
- Why: Reliability, Hosted lines, for the cloud Sandboxes API. · Schema & documentation, 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 fr… · Agent ergonomics, Lists take `pageSize` and `pageToken`, and filters and ordering are given per operation, so responses can be kept small (15). · Security & auth, A Docker personal access token with the `sandbox:use` scope, exchanged by the SDK for short-lived access tokens, or browser device sign-in… · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, `sbx` 0.54.0 on 16 November 2026, per the dated release notes (30). · Transparency & trust, Closed software.
- Sources: 27, open questions: 8, both in the full twin
- Capabilities: sandbox.code, sandbox.fs, sandbox.persist
- JSON: https://www.anchorterminal.com/api/v1/tools/docker-sandboxes.json
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: https://hub.docker.com/support/contact/; more in the full twin

## Before you call it

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

## Connect

```bash
npm install @docker/sandboxes  # or brew install docker/tap/sbx
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/docker-sandboxes

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Microsoft Execution Containers | BB | 77.1 | sandbox.code, sandbox.fs, sandbox.persist | https://www.anchorterminal.com/tools/microsoft-execution-containers.min.md |
| Vercel Sandbox | BB | 76.6 | sandbox.code, sandbox.fs, sandbox.persist | https://www.anchorterminal.com/tools/vercel-sandbox.min.md |
| E2B | BB | 73.2 | sandbox.code, sandbox.fs, sandbox.persist | https://www.anchorterminal.com/tools/e2b.min.md |
| DigitalOcean Managed Agents | BB | 72.1 | sandbox.code, sandbox.fs, sandbox.persist | https://www.anchorterminal.com/tools/digitalocean-managed-agents.min.md |
| Celesto (formerly SmolVM) | BB | 71.8 | sandbox.code, sandbox.fs, sandbox.persist | https://www.anchorterminal.com/tools/celesto.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

