Docker Cloud Sandboxes vs Upstash Box
Docker Cloud Sandboxes gives each coding agent a small microVM with its own kernel and Docker inside, for up to 24 hours per run unless the always-on entitlement restarts it. Upstash Box gives each agent a light container that bills only busy CPU, pauses when idle, can stay on all month, and wakes on the next request.
The companies and products
Docker Cloud Sandboxes
Docker Cloud Sandboxes runs Docker's sbx coding-agent microVMs on Docker-managed compute instead of your laptop.
Each sandbox is a microVM with its own Linux kernel and its own Docker Engine. You start it from the same sbx CLI you use locally, or from the Sandboxes API, with Claude Code, Codex and other agents ready to run. You can move a sandbox from your laptop to the cloud and back, publish HTTPS ports and SSH in. It launched on September 24, 2026, and it bills pay-as-you-go on a personal Docker account.
- Launched
- September 24, 2026
- Session length
- 1 hour by default, up to 24 hours from creation; with the always-on entitlement, a restart at expiry keeps memory
- Regions
- Not published
Upstash Box
Upstash Box is a cloud computer for AI agents from Upstash, the company known for serverless Redis, Vector and QStash.
Each box is a Docker container with its own filesystem, shell, git and an optional coding agent such as Claude Code, Codex, OpenCode or Cursor, which you drive from TypeScript or Python SDKs. A box pauses when it sits idle, keeps its files, and you pay for the CPU it actually uses. Upstash built it to run its own Context7 service and opened it to everyone in March 2026.
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “295th cheapest of 365” means 294 of the other 364 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | Docker Cloud Sandboxes: price rank | Upstash Box: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Both are a compromise for a software factory. Docker allows 10 sandboxes at once by default, and higher quotas go through Docker. Upstash runs 1,000 boxes but does not document Docker inside a box. boat ranks 8th with Docker on every sandbox. | 295th of 365, with limits $4,928 a month | 98th of 365, with limits $464 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Both are a compromise here. An Upstash keep-alive box stays on all month for a flat price; a Docker run ends 24 hours after creation unless the always-on entitlement restarts it. boat ranks 6th with auto-stop off. | 139th of 361, with limits $5,110 a month | 170th of 361, with limits $450 a month | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Upstash ranks 13th for short code runs ($119 a month): an idle box costs no CPU, and a paused box wakes when work arrives. Docker is a compromise because of its default of 10 at once. | 239th of 336, with limits $233 a month | 13th cheapest of 336 $119 a month | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Upstash ranks 4th for sandboxes for your users ($222 a month) and wakes a user's paused box on the next request. Docker's default of 10 sandboxes at once makes it a compromise. boat ranks 3rd at $209. | 266th of 349, with limits $1,628 a month | 4th cheapest of 349 $222 a month | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 122nd of 349, with limits $7,000 a month | 343rd of 349, with limits $8,000 a month | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 291st of 359, with limits $1,400 a month | 67th cheapest of 359 $1,011 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month Upstash fits CI runners (121st). Docker is a compromise. CI that builds containers needs Docker inside, which Docker has and Upstash does not document; Android builds need /dev/kvm, which boat exposes. boat ranks 2nd. | 300th of 374, with limits $672 a month | 122nd cheapest of 374 $1,480 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Upstash ranks 8th for a dev box that stays on all month, with a keep-alive box from $8 a month. Docker is a compromise because of its 24-hour run limit. boat ranks 19th at $26, a full VM with SSH. | 140th of 371, with limits $204 a month | 8th cheapest of 371 $19 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Both are a compromise for computer use. Docker has no display server; Upstash runs Chromium on a virtual display with a view-only live view, and no desktop or VNC. boat streams a 60 fps Linux desktop. | 298th of 367, with limits $1,400 a month | 123rd of 367, with limits $76 a month | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 189th of 356, with limits $700 a month | 48th of 356, with limits $38 a month | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 192nd of 343, with limits $350 a month | 41st cheapest of 343 $400 a month | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 190th of 327, with limits $7,000 a month | 201st of 327, with limits $8,000 a month | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month Both are a compromise for parallel red teaming: Docker allows 10 at once by default, and Upstash boxes do not document Docker inside. boat ranks 6th. | 114th of 351, with limits $350 a month | 255th of 351, with limits $259 a month | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Docker Cloud Sandboxes | Upstash Box | boat |
|---|---|---|---|
| Isolation | MicroVM with its own Linux kernel; hypervisor not named | Docker container per box on AWS | Full VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); shared vCPUs |
| Docker inside | Yes, its own Docker Engine; agent runs as a non-root user with sudo | Not documented; the box is itself a Docker container, and custom images are listed as coming soon | Yes, with root and systemd |
| Nested virtualization | Not documented | Not documented; boxes are containers | Yes, /dev/kvm for Android emulators and VMs |
| Session length | 1 hour by default, at most 24 hours from creation; with the always-on entitlement, a restart at expiry keeps memory | No cap; a standard box pauses when idle, and a keep-alive box stays on all month | No cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days |
| Sandboxes at once | 10 by default; higher quotas through Docker, not self-serve | 10 on Free, 1,000 on Pay as You Go, raised on request; no start limit published | 100 on the $20 plan, up to 2,000 on the $2,000 plan, self-serve; starts per minute, hour and day capped by plan |
| Stop and resume | Stop keeps memory and files; resume picks up where it left off | Pauses itself when idle and keeps its files; storage keeps billing while paused | Disk saved every minute and at each stop, kept at least 14 days; no compute charge while stopped; resume is like a reboot |
| Wake on request | Not documented | Yes; a request to a public URL resumes a paused box and waits for the app | No; a stopped sandbox is started by API |
| Fork | Snapshot a running sandbox with disk or disk and memory, then restore it as a new sandbox | Snapshot a running box and start many new boxes from it | Fork a running sandbox from its last 1-minute disk snapshot |
| Desktop and browser | No display server; headless Chromium through Docker's official Playwright kit | Managed Chromium with AI page actions, CDP and a view-only live view; no desktop or VNC | 1920x1080, 60 fps Linux desktop with Chrome and computer-use tools |
| Inbound access | Public HTTPS URL per published port, not protected by Docker sign-in; not a TCP tunnel; SSH | HTTPS URL per port, public unless you add a token or basic auth; SSH through a gateway; no raw TCP documented | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; raw ports over IPv6 on sandboxes with no IPv4 of their own |
| Outbound rules | Allow and deny rules by host, with allow-all, balanced and deny-all presets | Allow all, deny all, or allow and deny by domain and CIDR, changeable on a running box | Open internet; no provider-side allowlist, so you set firewall rules inside the VM |
| Coding agents | Claude Code, Codex, Copilot, OpenCode and more, run from the sbx CLI; no agent prompt or events API | Claude Code, Codex, OpenCode and Cursor built in, with run and stream APIs, webhooks and scheduled prompts | Seven harnesses installed, with a prompt, steer and events API to drive them from outside |
| Keeping API keys out of the sandbox | Cloud proxy sets the auth header for built-in AI services and custom hosts; the sandbox sees a placeholder | Host proxy injects headers into outbound HTTPS on port 443 for any host; set when the box is created | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register |
| Regions | Not published | AWS us-east-1; custom regions on Enterprise | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Docker Cloud Sandboxes | Upstash Box | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | No documented way | Yes |
| Docker inside | Yes | Not published | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Not published | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | With your own setup | Yes | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | Yes | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | No documented way | Yes | No documented way |
| Wake on request | Not published | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Not published | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | Yes | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | Yes | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | Yes | Yes | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Not published | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | No documented way | Yes | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Not published | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Docker Cloud Sandboxes nor Upstash Box is in StarSling's CPU benchmark, so we cannot say how either compares on CPU. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts, which this run did not measure. For start time at its default size, ComputeSDK measured Upstash Box at a median of 2.34 s with 100 at once (6 November 2026) and 445 ms one at a time (7 August 2026). Docker and boat are not in ComputeSDK.
V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Docker Cloud Sandboxes and Upstash Box are not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | Docker Cloud Sandboxes, a month | Upstash Box, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $49 · Docker Agentic Platform (pay-as-you-go) | $21 · Pay as You Go | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $204 · Docker Agentic Platform (pay-as-you-go) · with limits | $21 · Pay as You Go | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $2,464 · Docker Agentic Platform (pay-as-you-go) · with limits | $900 · Pay as You Go · with limits | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $700 · Docker Agentic Platform (pay-as-you-go) · with limits | $306 · Pay as You Go | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $1,400 · Docker Agentic Platform (pay-as-you-go) · with limits | $1,822 · Pay as You Go | $8,800 · $2000/mo · with limits |
Docker Cloud Sandboxes: Docker bills per second for the size you pick, from $0.07 an hour for 1 vCPU / 2 GiB to $1.12 an hour for 16 vCPU / 32 GiB, with no monthly fee. A 4 vCPU / 8 GiB sandbox costs $0.28 an hour. A stopped sandbox costs nothing, and volumes and egress are free. New accounts get a one-time credit.
Upstash Box: A standard box is billed for the CPU it actually uses, at $0.10, $0.20 or $0.40 per active CPU hour for Small, Medium and Large, plus $0.10 per GB-month of storage. RAM is free, and Pay as You Go has no monthly fee. A keep-alive box costs a flat $8, $16 or $32 a month whether it is busy or not.
Upstash Box: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. Included time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge, and boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A card is required, also for the 7-day trial.
Limits in those scenarios
Docker ends each run 24 hours after creation; with the always-on entitlement a restart keeps it going, otherwise your code resumes it. Its default of 10 sandboxes at once rules it out for 50 agents in parallel, sandboxes for your users and 1,000 short jobs at once unless Docker raises the quota. Upstash fits all of those except 50 agents in parallel, because it does not document Docker inside a box; its egress price is not published, and keep-alive boxes bill every month whether used or not. boat fits every scenario but the 1,000-job burst: the $2,000 plan includes 2,400 starts a day, charges for starts above 90 a minute and refuses them above 270 with 429. boat never queues a start.
| Scenario | Docker Cloud Sandboxes | Upstash Box | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario |
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Docker Cloud Sandboxes when
you already run agents in sbx on your laptop, need Docker inside, and want a few of them to keep going in the cloud with memory kept across stops.
- Docker inside every sandbox. For agents that run databases or build images in Docker, each sandbox has its own Docker Engine. Upstash does not document Docker inside a box.
- Stop and fork with memory. For agents that pause between steps, a stopped sandbox comes back with its memory and running processes, and can be forked with them.
- The same sandbox on your laptop. If you already run sbx locally, the cloud is the same microVM and CLI, and you can move a sandbox either way.
Use Upstash Box when
your agents mostly wait, need to wake on an incoming request, run by the hundreds for short jobs, or must run in the US, and do not need Docker inside.
- No session cap. For agents that live on their machine, a keep-alive box stays on all month at a flat price.
- Idle costs no CPU, and a request wakes the box. For agents that wait a lot, an idle box costs no CPU, RAM is not billed, and a request to its URL wakes a paused box.
- Many boxes at once. For big bursts, Pay as You Go runs 1,000 boxes at once by default, against Docker's default of 10.
Where boat fits
Docker gives you a microVM with Docker inside, but runs 10 at a time by default and ends each run at 24 hours without always-on access. Upstash runs for weeks and by the thousand, in a container without documented Docker inside. If your agents need a full machine that runs as long and as wide as the work, look at boat. Upstash costs less for mostly idle agents and for big bursts.
A whole machine that keeps running
boat sandboxes are full VMs with root, systemd, Docker and /dev/kvm, with no session cap once auto-stop is off. On Docker, a run past 24 hours needs the always-on entitlement or your code to resume it. Upstash does not document Docker or /dev/kvm inside a box.
Wide fleets with Docker inside
boat runs 100 sandboxes at once on its $20 plan, within its start limits. Docker's default of 10 at once rules out 50 agents in parallel unless Docker raises the quota. Upstash allows 1,000 boxes, but without documented Docker inside, the 50-agent scenario does not fit there either.
A desktop the agent can see
boat streams a 60 fps Linux desktop with Chrome and computer-use tools. Docker has no display server, and Upstash's browser has a view-only live view with no desktop. On either you add a separate service for desktop apps or a human taking over.
Use boat when your agents need a full machine with Docker, emulators and a desktop, run for days or by the dozen, or have to be driven from your own app through an API. Compare it one to one: boat vs Docker Cloud Sandboxes and boat vs Upstash Box.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is Docker Cloud Sandboxes cheaper than Upstash Box?
For one coding agent on workdays, Upstash is cheaper: $21 a month against $49 on Docker for a 4 vCPU / 8 GiB machine, and boat is $20. By default Docker does not fit the other four scenarios on this page, because of its 24-hour run limit or its default of 10 sandboxes at once; always-on access or a higher quota from Docker changes that.
Which is faster, Docker Cloud Sandboxes or Upstash Box?
Neither is in StarSling's CPU benchmark, so we cannot say. boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can Upstash Box run Docker like Docker Cloud Sandboxes?
Its docs do not mention it: each box is itself a Docker container, and custom images are listed as coming soon. Each Docker cloud sandbox is a microVM with its own Docker Engine, and boat sandboxes are full VMs where Docker and systemd work as on any Linux server.
Can either run longer than 24 hours?
Upstash can: a standard box pauses when idle and resumes later with its files, and a keep-alive box stays on all month. One Docker run ends 24 hours after creation; the always-on entitlement restarts it at expiry with memory kept, otherwise you resume it. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).
How many sandboxes can I run at once?
Docker allows 10 concurrent and 50 stored per account by default; higher quotas go through Docker. Upstash Pay as You Go allows 1,000 boxes at once and raises it on request. boat's $20 plan runs 100 at once, and higher plans go up to 2,000, with start limits per plan.
Does either have a desktop for computer use?
No. Docker's cloud sandboxes have no display server; its official Playwright kit adds headless Chromium. Upstash runs Chromium on a virtual display with AI page actions and a view-only live view, and no desktop or VNC. boat streams a full Linux desktop at 60 fps with computer-use tools preinstalled.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Docker Cloud Sandboxes
- boat vs Upstash Box
- E2B vs Docker Cloud Sandboxes
- Daytona vs Docker Cloud Sandboxes
- Modal vs Docker Cloud Sandboxes
- Vercel Sandbox vs Docker Cloud Sandboxes
- Cloudflare Sandbox vs Docker Cloud Sandboxes
- Blaxel vs Docker Cloud Sandboxes
- Runloop vs Docker Cloud Sandboxes
- Tensorlake vs Docker Cloud Sandboxes
- Morph Cloud vs Docker Cloud Sandboxes
- CodeSandbox SDK vs Docker Cloud Sandboxes