Replit vs Docker Cloud Sandboxes
Replit is an app builder: you describe an app, Replit Agent writes it and Replit hosts it. Docker Cloud Sandboxes gives each coding agent its own small Linux VM with Docker inside, started from the same sbx CLI you use on your laptop, for up to 24 hours per run.
The companies and products
Replit
Replit is an AI app builder and hosting platform: you describe an app in chat, Replit Agent writes it, and Replit publishes it.
You work in a browser workspace where Replit Agent sets up the project, writes the code, tests it and fixes problems, with system packages managed by Nix. When the app is ready you publish it as an Autoscale, Static, Scheduled or Reserved VM deployment, with Postgres and object storage next to it. It is built for people and teams who want a working app, not for programs that need to create many machines by API. This page compares the parts where the two overlap.
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
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. “204th cheapest of 365” means 203 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 | Replit: price rank | Docker Cloud Sandboxes: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory runs many agents for days. Docker allows 10 sandboxes at once by default, with higher quotas through Docker, and ends each run 24 hours after creation unless the always-on entitlement restarts it. Replit drives one app at a time through Replit Agent. boat ranks 8th. | 204th of 365, with limits $2,000 a month | 295th of 365, with limits $4,928 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant on Replit is a Reserved VM that runs and bills all month as a published app. On Docker, the always-on entitlement restarts a sandbox at expiry with memory kept; without it, your code resumes it. | 246th of 361, with limits $2,033 a month | 139th of 361, with limits $5,110 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 Docker bills small sandboxes by the second with no monthly fee and keeps memory on stop. Replit's Autoscale bills only while it serves, but it is a web host, so you set up a code runner yourself. | 225th of 336, with limits $146 a month | 239th of 336, with limits $233 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 Serving your own users needs more than Docker's default 10 sandboxes at once, and higher quotas go through Docker. Replit does not publish how many deployments can run at once. | 229th of 349, with limits $825 a month | 266th of 349, with limits $1,628 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 | 253rd of 349, with limits $4,226 a month | 122nd of 349, with limits $7,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 | 266th of 359, with limits $685 a month | 291st of 359, with limits $1,400 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 jobs that build containers can run Docker on Docker Cloud Sandboxes, which Replit's Nix-based environments do not document. boat also exposes /dev/kvm for emulators and VMs, which Docker does not document. | 278th of 374, with limits $425 a month | 300th of 374, with limits $672 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A Replit workspace is a good place to code by hand. A Docker dev box needs the always-on entitlement, or your code resumes it after each 24-hour run. On boat, turn auto-stop off (default 1 hour) on a paid plan. | 181st of 371, with limits $109 a month | 140th of 371, with limits $204 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 Replit's VNC pane shows a desktop to a person. Docker has no display server; its Playwright kit adds headless Chromium. boat has a 60 fps desktop with Chrome and computer tools. | 225th of 367, with limits $619 a month | 298th of 367, with limits $1,400 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 Docker's official Playwright kit adds headless Chromium. boat has Chrome on a desktop you can watch and take over. Replit's docs describe no managed browser. | 277th of 356, with limits $317 a month | 189th of 356, with limits $700 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 | 282nd of 343, with limits $217 a month | 192nd of 343, with limits $350 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 | 147th of 327, with limits $4,378 a month | 190th of 327, with limits $7,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 | 241st of 351, with limits $215 a month | 114th of 351, with limits $350 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 | Replit | Docker Cloud Sandboxes | boat |
|---|---|---|---|
| Kind of product | AI app builder with browser workspaces and app hosting | Cloud microVMs for coding agents, run from the sbx CLI or the Sandboxes API | Sandboxes you create, stop and fork by API, SDK or CLI |
| Isolation | Not documented for workspaces; the security page says strong logical separation between users | MicroVM with its own Linux kernel; hypervisor not named | Full VM with its own kernel, on hosts dedicated to boat; vCPUs are shared |
| Session length | Reserved VM runs continuously at a fixed monthly price | 1 hour by default, at most 24 hours from creation; with the always-on entitlement, a restart at expiry keeps memory | Auto-stop is 1 hour by default; set up to 30 days, or turn it off on a paid plan for no cap |
| Machines at once | Not published for deployments; each always-on machine is a published app | 10 by default; higher quotas through Docker, not self-serve | 100 on the $20 plan (12 starts a minute, 200 a day included), up to 2,000 on the $2,000 plan |
| Docker inside | Not documented; system packages come from Nix | Yes, its own Docker Engine; the agent runs as a non-root user with sudo | Yes, with root and systemd |
| Nested virtualization | Not documented | Not documented | Yes, /dev/kvm for Android emulators and VMs |
| Stop and resume | Workspace files and Agent checkpoints; published apps keep data in Postgres or App Storage | Stop keeps memory and files; resume picks up where it left off | Disk saved every minute and at each stop, kept at least 14 days; resume is a reboot, memory is not kept |
| Fork a running machine | Not documented | Snapshot with disk, or disk and memory, then restore it as a new sandbox | Fork a running sandbox from its last 1-minute disk snapshot |
| Desktop and computer use | VNC pane that streams a desktop to your browser; the docs describe no computer-use API | No display server; headless Chromium through Docker's official Playwright kit | 1920x1080, 60 fps desktop with Chrome and computer tools for agents |
| Coding agents | Replit Agent, which an MCP client can drive (create, update, ask, publish) | Claude Code, Codex, Copilot, OpenCode and more, run from the sbx CLI; the Sandboxes API has no agent prompt or events API | Seven agents installed, with a prompt, steer and events API to drive them from outside |
| Keeping keys out of the machine | Managed keys for some AI model providers; other keys are app secrets | Cloud proxy sets the auth header for built-in AI services and custom hosts; the sandbox sees a placeholder | Optional paid AI credentials proxy ($1 a day plus $1 per 1,000 requests) for supported providers |
| Reaching the machine | Published apps on HTTPS and custom domains; SSH into the workspace on paid plans | Public HTTPS URL per published port, not behind Docker sign-in; SSH with Docker-issued certificates | Up to 50 HTTPS URLs, token-gated by default; SSH; raw ports on IPv6, and on IPv4 where the sandbox has its own address |
| Laptop and cloud | Browser workspace in the cloud | Same microVM and CLI locally or in the cloud; move a sandbox either way | Cloud only |
| Regions | North America, Europe, Asia, South America and Australia for published apps on Core and up | Not published | Germany, Finland and France; you cannot pick a region; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Replit | Docker Cloud Sandboxes | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Not published | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | Yes | No documented way | Yes |
| Browser | No documented way | With your own setup | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | No documented way | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | No documented way | Yes | Yes |
| Memory fork | No documented way | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | No documented way | No documented way |
| Wake on request | Yes | Not published | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Not published | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | Yes | No documented way | 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 | Not published | 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 | Yes | Not published | Yes |
| Usage per sandbox (API) | Yes | No documented way | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | No documented way | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Yes | Not published | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Replit and Docker Cloud Sandboxes are not in the public benchmarks we use, so we cannot say which is faster, and Docker does not publish its hardware. For reference, boat did 28.06 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). That boat sandbox 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. Replit and Docker Cloud Sandboxes 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 | Replit, a month | Docker Cloud Sandboxes, 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 | $122 · Pro $100 (annual) · with limits | $49 · Docker Agentic Platform (pay-as-you-go) | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $122 · Pro $100 (annual) · with limits | $204 · Docker Agentic Platform (pay-as-you-go) · with limits | $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 | $6,092 · Pro $2,500 (annual) · with limits | $2,464 · Docker Agentic Platform (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 | $403 · Pro $250 (annual) · with limits | $700 · Docker Agentic Platform (pay-as-you-go) · with limits | $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 | $825 · Pro $1,000 (annual) · with limits | $1,400 · Docker Agentic Platform (pay-as-you-go) · with limits | $8,800 · $2000/mo · with limits |
Replit: Replit plans (Core $20, or $18 billed annually; Pro from $100) turn into monthly credits for Agent work and hosting, then usage goes on to pay-as-you-go. A Reserved VM has a fixed monthly price per size, such as $130 for 4 vCPU / 16 GB, and bills busy or idle. Autoscale charges a $2 monthly base fee plus usage while it serves requests.
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, and local sandboxes are free.
Docker Cloud Sandboxes: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day, and extra starts cost $0.03 to $0.07 each.
Limits in those scenarios
Replit does not fully fit any scenario because it is an app platform: one Reserved VM is one published app that runs all month, it does not document Docker, and it does not publish how many deployments can run at once. Docker Cloud Sandboxes fits one coding agent on workdays. Its 24-hour run limit rules out an agent that never stops unless always-on is enabled, and its default of 10 sandboxes at once rules out 50 agents, sandboxes for your users and 1,000 short jobs until Docker raises the quota. boat fits four of the five scenarios. For 1,000 short jobs at once, its $2,000 plan charges for starts above 90 a minute and refuses them above 270, and boat never queues a start.
| Scenario | Replit | Docker Cloud Sandboxes | 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 Replit when
you want Replit Agent to build a web app from a description and host it for you, with a database, hosting that sleeps when idle, or regions outside Europe.
- An app built and hosted for you. Useful if you want a working app from a description: Replit Agent builds, tests and publishes it, with Postgres and storage.
- Hosting that sleeps when idle. Useful for web apps with uneven traffic: Autoscale wakes on the first request and has no compute charge while idle, plus a $2 monthly base fee.
- Regions on five continents. Useful if your users are far from Europe: published apps can run in North America, Europe, Asia, South America or Australia.
Use Docker Cloud Sandboxes when
you already run agents in sbx on your laptop and want them to keep going in the cloud, with memory kept across stops, strict outbound rules, or no monthly fee for light use.
- Stop and fork with memory. Useful for agents that pause between steps: a stopped sandbox comes back with its memory and running processes.
- Outbound rules at the proxy. Teams that must limit where an agent connects can set allow and deny rules by host, enforced outside the VM.
- The same sandbox on your laptop. If you already run sbx locally, the cloud is the same microVM and CLI, and you can move work between them.
Where boat fits
If what you are really running is coding agents started by your own code, look at boat. Replit is built around people making apps. Docker ends each run at 24 hours unless always-on is enabled, and allows 10 at once by default. boat gives each agent a full VM with no session cap once auto-stop is off, with Docker, /dev/kvm, a desktop and an agent API.
Runs as long and as wide as the work
On Docker, without the always-on entitlement, your code resumes an agent after each 24-hour run, and more than 10 at once needs a quota raise. On Replit each always-on agent is a published Reserved VM billed all month. boat runs 100 at once from the $20 plan, within its start caps.
A full VM, screen included
Replit does not document Docker, systemd or /dev/kvm. Docker's sandboxes have Docker and headless Chromium, but no documented /dev/kvm and no display server. Every boat sandbox has /dev/kvm and a 60 fps desktop with Chrome.
Agents driven from your app
Replit's MCP server drives only Replit Agent. On Docker you send terminal input through the process API and parse the output. boat lets you prompt, steer and stream events from Claude Code, Codex and others. boat has limits too: no memory kept on stop, and EU hosts only.
Use boat when your own code starts agents that run for days or by the dozen, need Docker, Android emulators, a desktop or a browser, and have to be driven through an API. Compare it one to one: boat vs Replit and boat vs Docker Cloud Sandboxes.
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 Replit cheaper than Docker Cloud Sandboxes?
For one coding agent on workdays, Docker is lower at $49 a month against $122 on Replit, because a Replit Reserved VM bills all month. For 50 agents in parallel, Docker comes to $2,464 against $6,092 on Replit, but neither fits that job as is. boat comes to $20 and $317 for the same two scenarios. Below about $20 of use a month, Docker costs less than boat, because it has no monthly fee.
Which is faster, Replit or Docker Cloud Sandboxes?
We cannot say: neither is in the public benchmarks we use, and Docker does not publish its hardware. boat did 28.06 runs per second 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 Replit run Docker?
Replit's docs set up environments with Nix packages and do not describe running Docker inside a workspace or a published app. Docker Cloud Sandboxes gives each sandbox its own Docker Engine, and every boat sandbox has Docker with root and systemd.
Can a Docker cloud sandbox run longer than 24 hours?
One run ends at most 24 hours after creation. With Docker's always-on entitlement, a restart at expiry keeps the sandbox going with its memory; without it, you resume it. A Replit Reserved VM runs continuously. On boat, turn auto-stop off (default 1 hour) on a paid plan for no session cap.
Can I drive the agents from my own code?
Partly on both. Replit's MCP server lets an MCP client create, update and publish an app through Replit Agent, and Docker's Sandboxes API runs processes and moves files. boat lets your app prompt, steer and stream events from Claude Code, Codex and other agents inside each sandbox.
Where does my data run?
Replit hosts data mainly on Google Cloud in the United States, and on Core and up you can publish apps on five continents. Docker does not publish its regions. boat runs sandboxes in Germany, Finland and France, you cannot pick a region, and snapshot copies can be stored outside the EU.
Try boat
Install the CLI, then run boat new.
7-day free trial