Docker Sandboxes (cloud)
docker-cloud, one-time credit, microVM isolation.
$250 once
About 1,786 h of a 2 vCPU, 4 GiB sandbox, once, at $0.14/h with every vCPU busy. The router reserves that much for each live box, so it never runs past the tier.
Terms
- Free usage
- $250 promotional credit (card required)
- Free limits
- 10 concurrent, 24 h
- Paid after
- $0.07/vCPU-h, memory included
- Free concurrency
- 10 at once
- Free lifetime cap
- 1 d a sandbox
- Card
- required
- Adapter's note
- Pay-as-you-go Docker Agentic Platform subscription (payment details at checkout) with a $250 promotional credit; experimental. Default quotas: 10 concurrent and 50 stored sandboxes. TTL at most 24 h from creation.
- Checked
- Nov 21, 2026 against www.docker.com/pricing/
The adapter
Docker Sandboxes, cloud (Docker Agentic Platform): sandboxes on Docker-managed compute, each in its own microVM, from any OCI image with /bin/sh. Experimental. Pay-as-you-go (a card at checkout) with a $250 promotional credit. Per second by size, memory included: micro (1 CPU / 2 GiB) $0.07/h, small (2 / 4) $0.14/h, up to xl (16 / 32) $1.12/h; a stopped sandbox costs nothing. Default quota: 10 concurrent sandboxes. A sandbox's TTL can't pass 24 h from its creation; at expiry this adapter asks for delete. REST: management API https://connect.docker.com/sandboxes/v1 with a Docker Hub access token exchanged from a Docker ID and a PAT with the `sandbox:use` scope (hub.docker.com/v2/auth/token). Commands and files go to the sandbox's own endpoint (`core.endpoint.uri`) with a short-lived scoped credential from POST /v1/sandboxes/{id}/endpoint-credentials. OpenAPI at docs.docker.com/reference/api/sandboxes/api.yaml; docs docs.docker.com/ai/sandboxes-api/, …/concepts.md, …/authentication.md, …/limits.md, …/errors.md, docs.docker.com/ai/sandboxes/cloud/usage.md, docker.com/pricing. npm `@docker/sandboxes`, CLI `sbx --cloud`. Mutations of a sandbox need its current ETag in If-Match.
- Keys
DOCKER_ID,DOCKER_PAT(with Cloud Sandboxes access)- Connects through
- REST connect.docker.com/sandboxes/v1 + the sandbox's endpoint
- Capabilities
- Public ports, Pause and resume, Any OCI image, Native file listing, Extend a live box
- Isolation
- microVM
- Operating system
- Linux
- Longest sandbox
- 1 d
- Longest command
- no cap declared
- Timeout
- The provider stops it at the deadline
- Billing
- Wall clock, every second it runs
- Source
- src/providers/docker-cloud.ts, and the provider’s site
const sbx = await router.create({ providers: ["docker-cloud"] });{
"providers": {
"docker-cloud": {
"freeTier": {
"kind": "one-time-credit",
"usd": 250
},
"priority": 10
}
}
}