# Docker Sandbox Alternatives (2026): 8 Options

> 8 Docker Sandboxes (sbx) alternatives for coding agents: Sandcat, dev container, srt, Lima, Sprites, E2B, Daytona, flockvm. When to keep sbx instead.

- URL: https://flockvm.com/compare/docker-sandboxes-alternatives
- Last updated: 2026-11-10
- Prices checked on: 2026-11-01

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.

## 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](/learn/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](/learn/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.

### 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](/compare/flockvm-vs-fly-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](/compare/e2b-alternatives) 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](/learn/run-claude-code-agents-in-parallel) covers the local options and their limits, and [/compare/parallel-agent-orchestrators](/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](/compare/flockvm-vs-daytona) has the details, and [Daytona alternatives](/compare/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](/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](/#pricing), 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](/eu-data-residency) lists what stays in France, and [/subprocessors](/subprocessors) names each company and what it receives. How it works with Claude Code is on [/integrations/claude-code](/integrations/claude-code), why Firecracker on [/firecracker-sandbox](/firecracker-sandbox), and the workflow we are building on [/use-cases/coding-agent-swarms](/use-cases/coding-agent-swarms). If that fits, [create an account](/signup).

## 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.

## Sources

- [Docker Sandboxes overview](https://docs.docker.com/ai/sandboxes/) (accessed 2026-11-01)
- [Docker Sandboxes: Install](https://docs.docker.com/ai/sandboxes/install/) (accessed 2026-11-01)
- [Docker Sandboxes: Get started locally](https://docs.docker.com/ai/sandboxes/get-started/) (accessed 2026-11-01)
- [Docker Sandboxes: FAQ](https://docs.docker.com/ai/sandboxes/faq/) (accessed 2026-11-01)
- [Docker Sandboxes: Architecture](https://docs.docker.com/ai/sandboxes/architecture/) (accessed 2026-11-01)
- [Docker Sandboxes: Isolation](https://docs.docker.com/ai/sandboxes/security/isolation/) (accessed 2026-11-01)
- [Docker Sandboxes: Usage (clone mode)](https://docs.docker.com/ai/sandboxes/usage/) (accessed 2026-11-01)
- [Docker Sandboxes: Supported agents](https://docs.docker.com/ai/sandboxes/agents/) (accessed 2026-11-01)
- [Docker Sandboxes: Cloud sandboxes](https://docs.docker.com/ai/sandboxes/cloud/) (accessed 2026-11-01)
- [Docker Sandboxes: Authenticate cloud agents](https://docs.docker.com/ai/sandboxes/cloud/credentials/) (accessed 2026-11-01)
- [Docker Sandboxes: Compare local and cloud sandboxes](https://docs.docker.com/ai/sandboxes/cloud/local-vs-cloud/) (accessed 2026-11-01)
- [Docker Sandboxes: Use cloud sandboxes](https://docs.docker.com/ai/sandboxes/cloud/usage/) (accessed 2026-11-01)
- [Docker Sandboxes API: Compute sizes and limits](https://docs.docker.com/ai/sandboxes-api/limits/) (accessed 2026-11-01)
- [Sign up for Docker Agentic Platform (experimental, billing)](https://docs.docker.com/agentic-platform/signup/) (accessed 2026-11-01)
- [Docker Agentic Platform product page (compute rates)](https://www.docker.com/products/docker-agentic-platform/) (accessed 2026-11-01)
- [Docker Sandboxes release notes (0.50.0, 26 Oct 2026)](https://docs.docker.com/ai/sandboxes/release-notes/) (accessed 2026-11-01)
- [docker/sbx-releases v0.50.1 (28 Oct 2026)](https://github.com/docker/sbx-releases/releases/tag/v0.50.1) (accessed 2026-11-01)
- [docker/sbx-releases LICENSE](https://github.com/docker/sbx-releases/blob/HEAD/LICENSE) (accessed 2026-11-01)
- [Docker pricing FAQ (Docker Desktop free-use terms)](https://www.docker.com/pricing/faq/) (accessed 2026-11-01)
- [Adam Warski, Docker Sandboxes (sbx) vs Sandcat (3 Jun 2026)](https://warski.org/blog/docker-sandboxes-sbx-vs-sandcat/) (accessed 2026-11-01)
- [VirtusLab/sandcat repository](https://github.com/VirtusLab/sandcat) (accessed 2026-11-01)
- [Lima repository](https://github.com/lima-vm/lima) (accessed 2026-11-01)
- [Claude Code docs: Choose a sandbox environment](https://code.claude.com/docs/en/sandbox-environments) (accessed 2026-11-01)
- [Claude Code reference dev container (.devcontainer)](https://github.com/anthropics/claude-code/tree/main/.devcontainer) (accessed 2026-11-01)
- [anthropics/sandbox-runtime repository](https://github.com/anthropics/sandbox-runtime) (accessed 2026-11-01)
- [Sprites docs: Overview](https://docs.sprites.dev/) (accessed 2026-11-01)
- [Sprites docs: Lifecycle and persistence](https://docs.fly.io/sprites/concepts/lifecycle) (accessed 2026-11-01)
- [Sprites docs: Checkpoints](https://docs.fly.io/sprites/concepts/checkpoints) (accessed 2026-11-01)
- [Fly.io pricing (Sprites)](https://fly.io/pricing/) (accessed 2026-11-01)
- [E2B FAQ: How do I calculate the price of a sandbox?](https://docs.e2b.dev/faq/calculate-sandbox-price.md) (accessed 2026-11-01)
- [E2B docs: Sandbox forking](https://docs.e2b.dev/sandbox/fork.md) (accessed 2026-11-01)
- [E2B FAQ: Can I run sandboxes in the EU?](https://docs.e2b.dev/faq/eu-region.md) (accessed 2026-11-01)
- [Daytona pricing](https://www.daytona.io/pricing) (accessed 2026-11-01)
- [Daytona docs: Sandboxes (fork)](https://www.daytona.io/docs/en/sandboxes.md) (accessed 2026-11-01)
- [Daytona docs: Isolation](https://www.daytona.io/docs/en/isolation.md) (accessed 2026-11-01)
- [flockvm pricing](https://flockvm.com/#pricing) (accessed 2026-11-01)
- [Daytona changelog v0.202.0: stable sandbox fork and snapshot creation](https://www.daytona.io/changelog/stable-sandbox-fork-and-snapshot-creation) (accessed 2026-11-01)
- [daytonaio/daytona repository (archived)](https://github.com/daytonaio/daytona) (accessed 2026-11-01)
