Docker Cloud Sandboxes vs Google Agent Runtime
Docker Cloud Sandboxes gives each coding agent a microVM with its own kernel and Docker Engine. One run ends 24 hours after creation, and 10 run at a time by default. Google Agent Runtime hosts your agent code on Google Cloud, and its Agent Sandbox runs code as an unprivileged user in a gVisor-isolated container, for up to 7 days.
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
Google Agent Runtime
Google Agent Runtime is the agent hosting part of Gemini Enterprise Agent Platform on Google Cloud, renamed from Vertex AI Agent Engine in April 2026.
It is a hyperscaler service, not a sandbox company. Agent Runtime deploys agents you build with ADK, LangGraph, LangChain, AG2 or LlamaIndex and bills them only while they work on a turn. Next to it, Agent Sandbox gives those agents a place to run code: a Code Execution sandbox, a shell or custom container sandbox, and a Computer Use browser. Each sandbox runs in a gVisor-isolated container in a Google-managed tenant project. Teams on GKE can also run the open-source GKE Agent Sandbox in their own cluster, with gVisor or Kata Containers, and manage it themselves.
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 | Google Agent Runtime: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Docker has its own Docker Engine and sudo inside, but ends each run at 24 hours unless the always-on entitlement restarts it, and runs 10 at a time by default. Google allows 7 days but documents no sudo or Docker inside. boat has root, Docker and /dev/kvm. | 295th of 365, with limits $4,928 a month | 310th of 365, with limits $5,801 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Google fits an assistant that lives all week: a sandbox lasts up to 7 days, and a snapshot (Preview) carries its files and memory into a new one. A Docker run ends after 24 hours unless the always-on entitlement restarts it. On boat, turn auto-stop off on a paid plan. | 139th of 361, with limits $5,110 a month | 34th cheapest of 361 $7,519 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 Both fit short code runs: Docker bills small sandboxes by the second, and Google's Code Execution sandbox is a ready Python and JavaScript interpreter with no network. On boat each run counts as a start. | 239th of 336, with limits $233 a month | 251st of 336, with limits $275 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 Docker's default of 10 sandboxes at once is too few for your users, and Google reaches a sandbox through its API or a private endpoint, with no public URL documented. boat serves HTTPS on up to 50 URLs per sandbox, token-gated by default. | 266th of 349, with limits $1,628 a month | 275th of 349, with limits $1,916 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 | 132nd of 349, with limits $8,240 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 | 90th cheapest of 359 $2,060 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 CI that builds containers runs on Docker, which has its own Docker Engine. On Google you build images outside the sandbox and push them to Artifact Registry. boat adds /dev/kvm for Android and VM images. | 300th of 374, with limits $672 a month | 104th cheapest of 374 $989 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Docker gives you SSH but ends a run at 24 hours unless the always-on entitlement restarts it. Google documents no SSH, and each execute_bash() call runs in a new shell. boat gives you SSH and a desktop; its IP changes at each resume. | 140th of 371, with limits $204 a month | 317th of 371, with limits $241 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 Google's Computer Use sandbox runs a browser with a VNC live view and a click, type and screenshot API. Docker has no display server; its Playwright kit adds headless Chromium. boat streams a full 60 fps desktop with Chrome. | 298th of 367, with limits $1,400 a month | 85th of 367, with limits $1,648 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 Google runs a real Chromium you can drive over CDP, and Docker's official Playwright kit adds headless Chromium. Google keeps outbound internet off unless the template turns it on. boat ships Chrome on a desktop in every sandbox. | 189th of 356, with limits $700 a month | 132nd of 356, with limits $824 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 | 56th cheapest of 343 $515 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 | 212th of 327, with limits $8,240 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 | 114th of 351, with limits $350 a month | 281st of 351, with limits $412 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 | Google Agent Runtime | boat |
|---|---|---|---|
| Isolation | MicroVM with its own Linux kernel; hypervisor not named | gVisor-isolated container in a Google-managed tenant project | Full VM with its own kernel, on hosts dedicated to boat; vCPUs are shared |
| Root and Docker inside | Its own Docker Engine; agent runs as a non-root user with sudo | Runs as appuser with no sudo; images must not need root; Docker not documented inside. You build images outside and push them to Artifact Registry | Root, systemd and Docker on every sandbox |
| Nested virtualization | Not documented | Not documented | Yes, /dev/kvm for Android emulators and VMs |
| How long a sandbox lives | 1 hour by default, at most 24 hours per run; the always-on entitlement restarts it at expiry with memory kept | TTL of up to 7 days for a custom container, 14 days for Code Execution; a snapshot (Preview) carries the state into a new sandbox | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Sandboxes at once | 10 by default; higher quotas through Docker, not self-serve | Set by your Google Cloud project quota; 500 sandbox creates a minute per project and region by default | 100 on the $20 plan, up to 2,000 on the $2,000 plan, self-serve; starts capped per plan (12 a minute and 200 a day on $20) |
| Stop, snapshot and fork | Stop keeps memory and files; snapshot a running sandbox with its memory and restore it as a new one | Pause keeps files; snapshots (Preview) keep memory and files, and many sandboxes can start from one | Disk saved every minute and at each stop; fork a running sandbox from its last 1-minute snapshot; no memory snapshots |
| Shell access | SSH with Docker-issued certificates, plus the sbx CLI | execute_bash() API calls; each command runs in a new shell; SSH is not documented | SSH, plus an API for commands |
| Desktop and browser | No display server; headless Chromium through Docker's official Playwright kit | A browser in a container with a VNC live view, a click, type and screenshot API, and CDP; a full desktop you build into a custom image | 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 | Through Google's API or a private endpoint in your VPC; no public URL documented | Up to 50 HTTPS URLs per sandbox, token-gated by default; SSH; raw ports over IPv6 (some sandboxes have no IPv4 of their own) |
| Outbound rules | Allow and deny rules by host at a proxy, with allow-all, balanced and deny-all presets | Off unless the template turns it on; can route through your VPC with Cloud NAT, a static IP or Cloud NGFW | Open internet, no provider-side allowlist |
| Coding agents | Claude Code, Codex, Copilot, OpenCode and more, run from the sbx CLI; no agent prompt or events API | Managed Agents API (Preview) runs Google's Antigravity harness; other harnesses you install in a custom image | Seven agents 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 | You provision and scope the credentials the agent uses | Optional AI credentials proxy ($1 a day plus $1 per 1,000 requests) for supported model providers; other secrets still enter |
| Hosting agent code and laptop use | Same microVM and CLI on your laptop or in the cloud; move a sandbox either way | Agent Runtime deploys ADK, LangGraph, LangChain, AG2 and LlamaIndex agents; idle time between turns is not billed | Cloud only; you run your own agent loop inside a sandbox |
| Regions | Not published | 23 locations in the US, Europe, the Middle East, Asia, Canada, Australia and Brazil | Germany, Finland and France; you cannot pick a region; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Docker Cloud Sandboxes | Google Agent Runtime | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | No documented way | Yes |
| Docker inside | Yes | No documented way | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | No documented way | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | Not published | Yes |
| Browser | With your own setup | Yes | Yes |
| Computer-use API | No documented way | Yes | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | Yes | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | No documented way | No documented way | No documented way |
| Wake on request | Not published | No documented way | No documented way |
| HTTPS preview URLs | Yes | No documented way | Yes |
| Raw TCP inbound | Not published | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | Yes | No documented way | Yes |
| Secret proxy for any API | Yes | No documented way | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | No documented way | 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 | Yes | No documented way |
| SOC 2 | No documented way | Yes | No documented way |
| HIPAA | No documented way | Yes | No documented way |
| EU data residency | Not published | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Docker Cloud Sandboxes nor Google Agent Runtime is in the public benchmarks we use, so we cannot say which is faster. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). 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.
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 Google Agent Runtime 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 | Google Agent Runtime, 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) | $73 · 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 | $301 · 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 | $3,626 · 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 | $1,030 · 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 | $2,060 · 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 has no compute charge, and volumes and egress are free. New accounts get a one-time credit.
Google Agent Runtime: Google bills $0.085 per vCPU-hour and $0.009 per GiB-hour allocated, rounded to the second. The pricing page lists 50 vCPU-hours and 100 GiB-hours free each month but does not say they cover sandboxes, so our totals do not subtract them. Sandboxes bill while they exist; a paused one costs less at a rate Google does not publish, and disk, snapshot and egress rates are not published either.
Google Agent Runtime: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. 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 keeps its disk for at least 14 days, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts a minute and 200 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's default of 10 concurrent sandboxes rules it out for 50 agents in parallel, sandboxes for your users and 1,000 short jobs at once, unless Docker raises your quota. Its 24-hour run limit means one agent that never stops does not fit by default. Google fits those rows except the 50-agent fleet, which needs Docker inside, and every Google row leaves disk and egress unpriced because Google does not publish those rates. boat fits four of five: for 1,000 short jobs at once, the $2,000 plan charges for starts above 90 a minute and refuses them above 270. That burst comes to $8,800 on boat and $2,060 on Google. boat's auto-stop defaults to 1 hour, and a resume is like a reboot.
| Scenario | Docker Cloud Sandboxes | Google Agent Runtime | 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 and want a few of them to keep going in the cloud, with Docker inside, SSH and memory kept across stops.
- Docker and sudo inside. Agents that run docker compose or install packages get their own Docker Engine and sudo; Google's sandboxes run without root.
- 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 between them.
- SSH and public ports. Developers can SSH into a sandbox and open a public HTTPS URL for a port; Google documents neither for its sandboxes.
Use Google Agent Runtime when
you build agents with ADK or LangGraph on Google Cloud and want them hosted inside your own project, network rules and regions, with short code runs, browser tasks or large bursts in a gVisor sandbox.
- A managed home for your agent code. Teams building with ADK or LangGraph get their agents hosted, scaled and not billed for idle time between turns.
- Longer lives, memory snapshots and a browser. A sandbox can live up to 7 days, snapshots (Preview) keep its memory, and the Computer Use sandbox gives agents a real browser with a live view.
- Inside your Google Cloud network. Agents can stay in your project, with egress off by default and routed through your own firewall, in 23 locations.
Where boat fits
Each product gives an agent a place to work with its own limits: Docker on run length and width by default, Google on root and the open network. If your agents run for days, by the dozen, need a screen or have to show what they built, look at boat. boat has limits too: start limits per plan, auto-stop on by default and no region outside Germany, Finland and France.
Long runs and many at once
Docker ends a run 24 hours after creation unless the always-on entitlement restarts it, and runs 10 at a time by default. Google deletes a sandbox when its TTL ends, 7 days at most, and a snapshot carries it on. boat has no session cap once auto-stop is off and runs 100 at once on $20, within its start limits.
A whole machine, screen included
Google documents no root or Docker inside, Docker has no display server, and neither documents /dev/kvm. boat has root, Docker, /dev/kvm and a 60 fps desktop with Chrome on every sandbox.
Drive agents inside from outside
Docker starts agents from the sbx CLI, with no agent events API. Google's Managed Agents API (Preview) runs its own Antigravity harness. boat installs Claude Code, Codex and five more, with a prompt, steer and events API, and an optional paid credentials proxy.
Use boat when your agents run for days or by the dozen, need root, Docker, /dev/kvm, a desktop or public URLs, 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 Google Agent Runtime.
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 Google Agent Runtime?
For one coding agent on workdays, yes: $49 a month on Docker against $73 on Google, and $20 on boat. Sandboxes for your users come to $700 on Docker and $1,030 on Google, though Docker's default of 10 at once does not fit that one; boat comes to $200. For 1,000 short jobs at once, Google fits at $2,060, while Docker's default quota rules it out.
Which is faster?
We cannot say: neither Docker Cloud Sandboxes nor Google Agent Runtime is in the public benchmarks we use. boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can Google Agent Runtime run Docker like Docker Cloud Sandboxes?
Not in Google's managed sandboxes. Shell commands run as the unprivileged user appuser with no sudo, custom images must not need root, and Google documents no Docker inside. You build images outside the sandbox and push them to Artifact Registry. Each Docker cloud sandbox has its own Docker Engine, and boat runs Docker with root and systemd.
How long can a sandbox run on each?
A Docker cloud sandbox runs 1 hour by default and at most 24 hours per run; the always-on entitlement restarts it at expiry with memory kept. A Google sandbox has a TTL of up to 7 days for a custom container and 14 days for Code Execution, and a snapshot (Preview) carries its state into a new one. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).
Is Google Agent Runtime the same as Vertex AI Agent Engine?
Yes. Google renamed Vertex AI Agent Engine to Agent Runtime in April 2026, as part of Gemini Enterprise Agent Platform. Its code, shell and browser sandboxes are a separate part called Agent Sandbox.
Can either show a desktop or a browser?
Docker has no display server; its official Playwright kit adds headless Chromium. Google's Computer Use sandbox runs a browser with a VNC live view and CDP for Playwright; a full desktop you build into a custom image. boat streams a 60 fps Linux desktop with Chrome on every sandbox.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Docker Cloud Sandboxes
- boat vs Google Agent Runtime
- 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