Docker Sandboxes alternatives: when to keep sbx, and what to use instead

The sbx CLI no longer needs Docker Desktop, runs on Ubuntu, is free for local use, commercial work included, and has a paid cloud mode. The reasons left to switch are no Docker account, a machine that isn't supported, your own editor, fork with memory, or VMs on a French host.

Last updated Prices checked on

Keep sbx, or what to use instead

Why are you leaving Docker Sandboxes?

Docker Desktop's licence, Linux, or it only ran on your laptop

Keep sbx

You may not need to move. The sbx CLI no longer needs Docker Desktop or Docker Engine: it runs on Ubuntu, it is free for local use, commercial work included, and it has a paid cloud mode.

Read that part

You don't want a Docker account, or a closed-source tool

Sandcat, the dev container or srt

Sandcat is Apache-2.0 and works with VS Code and IntelliJ through dev containers; srt wraps Claude Code with no Docker at all. Both container options share the host kernel; sbx does not.

Read that part

Your machine is outside the supported platforms

Lima, or a remote VM

Lima launches Linux virtual machines on macOS, Linux and NetBSD. One Lima VM per agent gives you a kernel boundary without a Docker account; you build the network policy and secret handling yourself.

Read that part

The agent should keep running when you close the laptop

Docker cloud, Sprites or E2B

Docker's cloud mode answers this itself, with limits worth knowing: it is labelled experimental, and accounts start with a quota of 10 concurrent sandboxes. Sprites pause about 30 seconds after activity stops.

Read that part

You need fork with memory, or many agents at once

E2B or Daytona

E2B snapshots a running sandbox with its full filesystem and memory state and boots up to 20 forks per SDK call. Daytona forks a VM sandbox with its filesystem and memory.

Read that part

You want VMs on a French host

flockvm

One Firecracker microVM per agent in France, with memory kept across pauses. There is no fork and no secrets proxy, and up to 15 small VMs run at once, shared by every customer.

Read that part

One answer per reason, as this page argues it below. Vendors' own pages, read on 1 November 2026.
an hour for 2 vCPU / 4 GB on flockvm, against $0.140 in Docker's cloud
flockvm
$0.016
sbx on your own machine, commercial work included
Docker Sandboxes
Free
cloud sandboxes at once in Docker's starting quota; flockvm runs at most 15 small on one shared host
Docker Sandboxes
10
forks at most per SDK call from a running E2B sandbox, memory included
E2B
20

At a glance

Docker Sandboxes and its alternatives at a glance

Docker Sandboxes and its alternatives at a glance
flockvmDocker SandboxesSandcatClaude Code dev containerSandbox runtime (srt)LimaFly.io SpritesE2B
Runs onPartial: FranceStrength: Apple silicon, Windows 11, Ubuntu; cloudStrength: Any Docker engineStrength: Any Docker engine, VS CodePartial: macOS, Linux; Windows in alphaStrength: macOS, Linux, NetBSDPartial: Fly.io cloudPartial: E2B cloud; EU cluster on request
IsolationStrength: Firecracker microVMStrength: microVM, own kernelPartial: Container + filtering proxyPartial: Container + iptables firewallPartial: Seatbelt or bubblewrapStrength: Full Linux VMStrength: microVMStrength: microVM
Licence—Gap: ProprietaryStrength: Apache-2.0—Strength: Apache-2.0, betaStrength: Apache-2.0, CNCF—Strength: Apache-2.0
Docker insideStrength: Works in the VMStrength: Own Docker daemon eachGap: Can't run Docker insidePartial: Takes extra workNot covered hereStrength: Docker or containerd insideNot covered hereNot covered here
SecretsGap: Written into the VM; use one you can revokeStrength: Injected by a host proxyStrength: Swapped in at the proxyNot covered hereNot covered hereGap: Yours to buildNot covered hereNot covered here
Pause with memoryStrength: YesStrength: Cloud stop keeps memoryNot covered hereNot covered hereNot covered hereNot covered herePartial: Warm only; cold loses itNot covered here
Fork with memoryGap: No fork yetPartial: Cloud templates capture memoryNot covered hereNot covered hereNot covered hereNot covered hereGap: Checkpoints keep files onlyStrength: Up to 20 forks per call
PriceStrength: small $0.016/h, per secondStrength: Free locally; cloud from $0.07/hStrength: FreeStrength: FreeStrength: FreeStrength: FreePartial: On CPU and memory usedPartial: $0.166 for 1 h at 2 vCPU / 4 GiB
— means not found on the vendor's own pages on 1 November 2026. Daytona, same price as E2B, is in the page's table above.

Most reasons people gave for leaving Docker Sandboxes no longer hold. The sbx CLI no longer needs Docker Desktop or Docker Engine. It runs on Ubuntu, it is free for local use, commercial work included, and it has a paid cloud mode. The reasons that remain are narrower: you don't want a Docker account or a closed-source tool, your machine is outside the supported platforms, you want your editor and dev containers, you need fork with memory or more than a handful of agents, or you want VMs on a French host.

Every fact below links to the vendor's own page and was read on 1 November 2026. flockvm wrote this page and is one of the options; we say where it fits and where it does not.

What does Docker Sandboxes already do?

Check this list before you migrate. Several "alternatives" posts predate it.

  • No Docker Desktop. The install page says: "You don't need Docker Desktop or Docker Engine to use sbx." On Ubuntu you can install the docker-sbx package alone. Claude Code's own docs describe it as "a free, standalone product from Docker that does not require Docker Desktop."
  • Free locally, commercial use included. "The sbx CLI and local sandbox compute are free to use, including for commercial and professional work." Paid extras are central policy management for organizations and cloud compute.
  • A microVM per sandbox. "Every sandbox runs inside a lightweight microVM with its own Linux kernel", with its own Docker daemon, so the agent can build images and run containers inside it.
  • Secrets kept on the host. Outbound traffic goes through a proxy on your host that injects credentials for AI services. With a Claude subscription, Docker says the /login session token "stays on your host and is never stored inside the sandbox."
  • Several agents on one repository. Clone mode (--clone) gives each agent a private Git clone instead of your working tree.
  • Ten agent presets, from Claude Code, Codex and Copilot to Cursor, Gemini, Kiro and OpenCode, plus a plain shell.
  • A cloud mode. sbx --cloud runs agents such as Claude Code and Codex on Docker-managed compute, billed per second. A cloud sandbox can be stopped "while preserving its memory and filesystem", and is not billed while stopped.

Platforms, per the install page: macOS 14 or later on Apple silicon; Windows 11 on 64-bit Intel or AMD; Ubuntu 24.04 or later on x86-64 or Arm64, with KVM for local sandboxes. The latest release on GitHub is v0.50.1, dated 28 October 2026.

If your reason to leave was Docker Desktop's licence, Linux, or "it only runs on my laptop", you may not need to move.

Docker Sandboxes alternatives at a glance

"—" means we did not find the item on the vendor's own pages on 1 November 2026, not that it is missing.

Option Pick it when Where it runs Isolation Licence Price
Docker Sandboxes (baseline) You want a microVM per agent on your laptop, or the same CLI in the cloud macOS (Apple silicon), Windows 11, Ubuntu; Docker cloud microVM (local) Proprietary Free locally; cloud from $0.07/h
Sandcat You want open source, your IDE, no Docker account Any Docker engine Container + filtering proxy Apache-2.0 Free
Claude Code dev container You want Anthropic's reference setup in your repo Any Docker engine, VS Code Container + iptables firewall — Free
Anthropic sandbox runtime (srt) You want no Docker at all macOS, Linux; Windows in alpha Seatbelt or bubblewrap Apache-2.0 Free
Lima You want a full Linux VM on macOS or Linux, open source macOS, Linux, NetBSD VM Apache-2.0 Free
Fly.io Sprites Agents that idle, billed on what they use Fly.io cloud microVM — Usage-based
E2B You need fork with memory and an SDK E2B cloud (EU cluster on request) microVM Apache-2.0 $0.0504/vCPU-h + $0.0162/GiB-h
Daytona Same price as E2B, GPUs on the price list Daytona cloud Container, or VM with its own kernel Archived public repo Same as E2B
flockvm A VM per agent on a French host France (OVHcloud) Firecracker microVM — small $0.016/h, per second

What does one hour cost in the cloud?

Local options cost nothing beyond your machine. For the cloud ones, we priced one sandbox with 2 vCPU and 4 GiB of RAM for one hour, compute only, before credits and plan fees. The rates are the vendors'; the results are our arithmetic.

Option Published rate (1 Nov 2026) 1 h at 2 vCPU / 4 GiB (calc.) Notes
Docker cloud sandboxes Small (2 vCPU / 4 GB): $0.14/h $0.140 Per second. Stopped sandboxes don't bill. First $25 of compute included
E2B $0.0504/vCPU-h + $0.0162/GiB-h $0.166 Per second, on allocated resources
Daytona $0.0504/vCPU-h + $0.0162/GiB-h $0.166 Disk $0.000108/GiB-h after 5 free GiB
Fly.io Sprites $0.0385/CPU-h used + $0.021875/GB-h used $0.165 at full use; $0.056 at 30% CPU and 1.5 GB Billed on CPU time and memory actually used, plus storage
flockvm small (2 vCPU / 4 GB): $0.016/h, current rate, subject to change $0.016 Per second. $18 a month plan that comes back as VM time; paused and stopped VMs cost nothing for now. At most 15 small VMs at once on the host in France

The arithmetic: E2B is 2 × 0.0504 + 4 × 0.0162 = 0.1656. Sprites at full use is 2 × 0.0385 + 4 × 0.021875 = 0.1645; at 30% of 2 CPUs and 1.5 GB in use it is 0.6 × 0.0385 + 1.5 × 0.021875 = 0.0559, before hot storage at $0.000683 per GB-hour. Docker's product page lists sizes in GB; its API docs list the same sizes in GiB.

At this size, flockvm's current rate is about a ninth of Docker's cloud, the next one down among the rates billed on allocated resources; flockvm runs at most 15 of these VMs at once on its host in France, shared by every customer, and Docker's cloud starts with a quota of 10 per account. Sprites gets cheaper than Docker and E2B when your agents spend most of their time waiting on the model.

One cloud sandbox, 2 vCPU / 4 GiB, for one hour

At full use

CPU and memory fully used

Mostly waiting

30% CPU and 1.5 GB in use
Compute only, before credits and plan fees; the page's arithmetic on rates read on 1 November 2026. Docker, E2B and flockvm bill allocated resources, Sprites the CPU time and memory actually used. Local options cost nothing beyond your machine. Not drawn: Daytona, $0.166 like E2B.

Which alternative fits your reason to leave?

No Docker account, or a tool you can read: Sandcat, the dev container, srt

sbx asks you to sign in. Docker says the account ties "sandboxes to a real person" and authenticates image pulls. The CLI sends usage telemetry (command, result, duration, and your Docker username if signed in), which SBX_NO_TELEMETRY=1 turns off. The licence file of docker/sbx-releases reads "Copyright © 2026 Docker Inc. All rights reserved."

Sandcat, from VirtusLab, is a Docker Compose and dev container setup that routes all container traffic through mitmproxy over WireGuard, filters HTTP/S and DNS by allow and deny lists, drops raw TCP and UDP, and substitutes secrets at the proxy "so the container never sees real values". It is Apache-2.0. Adam Warski's comparison of the two lists the trade: Sandcat works with VS Code and IntelliJ through dev containers, but "can't run docker inside sandbox", where sbx can.

Anthropic's reference dev container ships in the claude-code repository with a default-deny init-firewall.sh. Claude Code's docs say a configuration like this "supports running Claude Code with --dangerously-skip-permissions for unattended work". The sandbox runtime (srt) wraps the whole Claude Code process in Seatbelt on macOS or bubblewrap on Linux, with no Docker at all; its README adds a Windows mode in alpha. Anthropic calls it "a beta research preview".

Both container options share the host kernel; sbx does not. MicroVM vs container explains what a guest kernel isolates that a container does not, and when a container is enough. Our guide to running with --dangerously-skip-permissions safely compares what each layer blocks.

One licensing note: Sandcat and the dev container need a Docker engine. If that engine is Docker Desktop, the free tier covers companies with "fewer than 250 employees and less than US $10,000,000" in annual revenue. Above that, Docker Desktop needs a paid subscription. On Linux, Docker Engine needs no Docker Desktop.

What sits between the agent and your machine

Docker Sandboxes (sbx)

microVM

Sandcat, the dev container

container

Sandbox runtime (srt)

Docker Sandboxes (sbx) The agent, and its containers

Each sandbox has its own Docker daemon, so the agent can build images and run containers inside it. Sandcat cannot do this; in a dev container it takes extra work.

Docker Sandboxes (sbx) Its own Linux kernel

Every sandbox runs inside a lightweight microVM with its own Linux kernel.

Docker Sandboxes (sbx) Proxy on your host

Outbound traffic goes through a proxy on your host that injects credentials for AI services, so secrets are kept on the host.

Sandcat, the dev container The agent, in your editor

Sandcat works with VS Code and IntelliJ through dev containers, but can't run docker inside the sandbox, where sbx can.

Sandcat, the dev container Filtering proxy or firewall

Sandcat routes all container traffic through mitmproxy over WireGuard and substitutes secrets at the proxy; Anthropic's reference dev container ships a default-deny init-firewall.sh.

Sandcat, the dev container Host kernel

Both container options share the host kernel; sbx does not. They need a Docker engine.

Sandbox runtime (srt) The Claude Code process

The sandbox runtime wraps the whole Claude Code process, with no Docker at all. Anthropic calls it a beta research preview.

Sandbox runtime (srt) Seatbelt or bubblewrap

Seatbelt on macOS or bubblewrap on Linux; its README adds a Windows mode in alpha.

sbx and three local alternatives, as their own pages describe them on 1 November 2026.

Your machine isn't supported: Lima, or a remote VM

Docker supports Ubuntu 24.04 and later only, and says it "does not test or support Docker Sandboxes on Ubuntu derivatives, such as Linux Mint and Pop!_OS". Intel Macs and Windows on Arm are not in the list. Inside a VM, local sandboxes need nested virtualization.

Lima, a CNCF incubating project under Apache-2.0, "launches Linux virtual machines with automatic file sharing and port forwarding" on macOS, Linux and NetBSD, and can run Docker or containerd inside. One Lima VM per agent gives you a kernel boundary without a Docker account. You build the network policy and secret handling yourself; Lima does not ship either for agents. Version 2.2.1 is dated 3 October 2026.

The agent should keep running when you close the laptop: Docker cloud, Sprites, E2B

Docker's cloud mode answers this itself, with limits worth knowing. It is labelled experimental. A cloud sandbox "can't mount a host workspace or use host hardware", so you clone the repo inside it. It "expires after one hour by default" unless you set --ttl. Accounts start with a quota of 10 concurrent sandboxes. We did not find a region on Docker's pages.

Fly.io Sprites are "persistent, hardware-isolated Linux VMs" that pause about 30 seconds after activity stops. A warm pause keeps memory and resumes in 100 to 500 ms; a longer idle drops to cold, where memory is lost and a wake takes 1 to 2 s. Checkpoints capture the filesystem, not memory. Each Sprite runs with 8 vCPU and 100 GB of storage, and the platform sizes its memory. flockvm vs Fly.io Sprites prices six agent workloads on both.

E2B bills per second on allocated resources and offers "a shared EU cluster on every plan" after you contact support. Our E2B alternatives page covers it in depth.

Many agents at once, or fork with memory: E2B, Daytona

Locally, every sbx sandbox is a VM with its own Docker daemon, and "multiple sandboxes don't share images or layers". Docker's architecture page states the trade: "higher resource overhead (a VM plus its own daemon)". Your laptop's RAM sets the ceiling. Our guide to running Claude Code agents in parallel covers the local options and their limits, and /compare/parallel-agent-orchestrators covers the tools that drive the agents.

If you want N copies of one prepared environment, E2B snapshots a running sandbox "with its full filesystem and memory state" and boots up to 20 forks per SDK call. Daytona forks a VM sandbox with its filesystem and memory (not a container sandbox); its fork and snapshot APIs became stable in v0.202.0 on 29 July 2026, and its public repository is archived; flockvm vs Daytona has the details, and Daytona alternatives the options if you leave it. Docker's cloud has a related tool: template save --capture-mode all "captures memory, disk, and the microVM checkpoint", and new sandboxes can start from that template. How snapshot restore works is explained in /learn/firecracker-snapshot-restore.

VMs on a French host: flockvm

flockvm runs one Firecracker microVM per agent in France, on an OVHcloud bare-metal server. Sign-ups are open (Google, GitHub or an email link), with a 7-day free trial: card required, nothing charged for 7 days, 25 hours of VM time, 2 VMs at once, small and default sizes. Details below.

When is Docker Sandboxes the better choice?

Keep sbx, or try it first, if any of these matter more than the reasons above:

  • You want isolation on your own laptop at no cost. A microVM per agent, free, commercial use included, with no cloud account to bill.
  • Your agent runs Docker. Each sandbox has its own Docker daemon. Sandcat cannot do this; in a dev container it takes extra work.
  • You want secrets kept out of the sandbox today. Docker's host proxy injects credentials; flockvm v1 writes the secrets you set, such as an API key, into the VM, and Claude Code signs in with /login inside it.
  • You want one CLI for local and cloud. sbx move copies a sandbox's filesystem between the two (not its memory or running processes).
  • You run several agent brands. Ten agent presets, each with its own setup page.
  • Your org needs central policy. Network, filesystem and MCP policies across developer machines, on a paid subscription.

Where does flockvm fit today?

flockvm gives each coding agent its own Firecracker microVM, reached over SSH. What is available now:

  • Firecracker v1.17.0 microVMs with an Ubuntu 26.04 image, Docker working inside the VM.
  • Boot to SSH in about a second: 0.43 to 1.34 s from creation to SSH answering, median about 1.1 s, over 12 VMs measured on our host in France on 9 and 10 November 2026.
  • Pause and resume with memory, SSH, logs, and billing per second: small (2 vCPU, 4 GB) is $0.016 an hour, current rate on the home page, subject to change.
  • One region in France, on one host (OVHcloud). Amsterdam and three US regions are planned.

What it does not do yet:

  • No fork: the API has no fork endpoint. Swarms of 10 to 20 agents and fork are what flockvm is building next. E2B forks today.
  • Up to 15 small VMs at once on the host in France (or 7 default, 3 large, or 1 xlarge), shared by every customer.
  • No secrets proxy: in v1 the secrets you set, such as an organization API key, are written into the VM; use one you can revoke. Claude Code signs in with /login inside the VM.
  • No SDK and no public status page. There is a REST API, a CLI (flockvm) and a remote MCP server.

Compared with local sbx, flockvm moves agents off your laptop to a host in France, with memory kept across pauses. The website runs on Vercel and DNS on Cloudflare, both US companies; /eu-data-residency lists what stays in France, and /subprocessors names each company and what it receives. How it works with Claude Code is on /integrations/claude-code, why Firecracker on /firecracker-sandbox, and the workflow we are building on /use-cases/coding-agent-swarms. If that fits, create an account.

How do you test an alternative before you switch?

Run one real task from your backlog, with the same agent and prompt, in sbx and in the candidate, and compare:

  1. Time to a usable shell, from the create command to the agent's first command. Run it several times and keep the slowest, not the best.
  2. What the agent can reach. Try a domain outside your allowlist and read a secret from inside the sandbox. If the real key appears, the tool copies secrets in.
  3. Docker inside. Run docker run hello-world and your test suite's containers, if you use any.
  4. The bill for a day. Multiply the hours your agents actually run by the rate above, and check what a stopped or paused sandbox still costs.

Run your agents in their own microVMs

flockvm gives each coding agent a Firecracker microVM that pauses with its memory and resumes, billed per second. France is live, and you can start with a 7-day free trial.

Start your 7-day free trial

Card required. Nothing charged for 7 days.