Hacker ApprovedDepartments

Docker Sandboxes

The most recommended of 17 agent sandboxes

Runs AI agents in isolated microVMs that see only your project directory. Main caveat: the required Docker login.

Runs AI agents in isolated microVMs that see only your project directory. Main caveat: the required Docker login.

89 people gave an opinion

recommend it
50
criticize it
39
approval share
56%
Each figure is one person. RecommendsCriticizes

Recommended in 9 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 50 people recommend itNeeds 10 or more, met.
  • 1.2 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 9 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Runs agents in microVMs, isolated from host

    “Docker sandboxes seem to be a good solution that also employs virtualization.”

    Comment from 15 Aug 2026 in “Firefox is now the last major browser that still supports uBlock Origin”

    “sandboxes the agent in a micro vm running on the host and locks down access”

    Comment from 21 Oct 2026 in “Ask HN: How do you keep your setup secure when using harnesses?”

    “switched to Docker sandboxes since they switched to mircoVMs too”

    Comment from 27 Feb 2026 in “Let's Discuss Sandbox Isolation”
  • Limits agent to project directory files

    “Locks things way down so that the agent only has access to the files you give it”

    Comment from 1 Jun 2026 on Hacker News

    “The default file access is just the directory you create the sandbox under.”

    Comment from 11 Oct 2026 in “Mxc: Microsoft Execution Containers version 1.0.0”

    “You only mount the project dir so you can only loose your current changes”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”
  • Easy to use daily, works out of box

    “I’ve been using this pretty extensively for a few months on Mac and Linux and have been super happy with it.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

    “Concept is great - works quite well - I often have multiple short lived sandboxes running at once.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

    “CLI works on Fedora. Been using it daily for ~ a week.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

What people warn about

Each mark is one comment

  • Requires a Docker login

    “I am sad that they are asking for a login here though, which doesn't make any sense to me.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

    “Like others here I'm also saddened by the login requirement”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

    “Though, they need to remove the login requirement.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”
  • Not available on Linux

    “it's not available for Linux (so no AWS, no GCP, etc.)”

    Comment from 16 Mar 2026 in “Docker Sandboxes and Docker Agent”

    “When I previously looked it did not (the reason being that they were already using VMs on Windows/macOS but not on Linux).”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

    “I hope one day Linux will be able to support the exclusive MacOs/Windows technology of Docker Sandboxes.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”
  • Closed source and tied to Docker

    “I'd say that they are on a good path. However in the end I'd expect it to be a standalone application and ecosystem, not tied to docker/moby”

    Comment from 17 Feb 2026 in “Running NanoClaw in a Docker Shell Sandbox”

    “the disk space usage was growing significantly, I need to login multiple times for each sandbox, it's closed source”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”
  • Fear of future paywalls and limits

    “An enforced required login is a net negative value - it means rug pulls in the future.”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

    “Tomorrow they're gonna add limits on sandbox runs without a premium account too”

    Comment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

Other agent sandboxes people recommend

The four most recommended other agent sandboxes, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Docker Sandboxes compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Docker SandboxesThis page503956%9——
NVIDIA OpenShell36882%9—Approved
Claude Code sandbox161847%6——
MXC (Microsoft Execution Containers)151747%1——
microsandbox13287%6—Approved
See all 17 agent sandboxes, ranked

What people said

40 of the 99 comments that mention it, newest first. Each links to the original comment.

“Just use docker sandbox or iron proxy to replicate network control/cred swapping”

RecommendsComment from 22 Oct 2026 in “OpenShell – A safe, private runtime for fleets of autonomous AI agents”

“sandboxes the agent in a micro vm running on the host and locks down access”

RecommendsComment from 21 Oct 2026 in “Ask HN: How do you keep your setup secure when using harnesses?”

“The default file access is just the directory you create the sandbox under.”

RecommendsComment from 11 Oct 2026 in “Mxc: Microsoft Execution Containers version 1.0.0”

“the "you need a docker login" makes is pretty much no-go for my use case”

CriticizesComment from 4 Oct 2026 in “Docker has always used microVMs (well since 2016)”

“Docker sandboxes seem to be a good solution that also employs virtualization.”

RecommendsComment from 15 Aug 2026 in “Firefox is now the last major browser that still supports uBlock Origin”

“Concept is great - works quite well - I often have multiple short lived sandboxes running at once.”

MixedComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“CLI works on Fedora. Been using it daily for ~ a week.”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“my team works on mcp integration with sbx. A solution I've been trying is this”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“But sbx is a bit annoying to use with OpenCode for instance”

MixedComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“For my workload, it doesn't feel any slower than running it directly on the host.”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“I’ve been using this pretty extensively for a few months on Mac and Linux and have been super happy with it.”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“You only mount the project dir so you can only loose your current changes”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“Finally, a way to run --dangerously-skip-permissions without having a mild heart attack every time the agent decides to rm -rf a mystery directory.”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“An enforced required login is a net negative value - it means rug pulls in the future.”

CriticizesComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“the disk space usage was growing significantly, I need to login multiple times for each sandbox, it's closed source”

CriticizesComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“this one does that with less config, also with this agents can run docker”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“Like others here I'm also saddened by the login requirement”

MixedComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“When I previously looked it did not (the reason being that they were already using VMs on Windows/macOS but not on Linux).”

CriticizesComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“Docker is not a security boundary. It never has been meant to be”

MixedComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“a batteries included alternative to firecracker with a couple of new ideas tossed into the mix”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“it works great out of the box with two key features”

RecommendsComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“There is no reason to require a login for creating local mini sandboxes.”

CriticizesComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“I hope one day Linux will be able to support the exclusive MacOs/Windows technology of Docker Sandboxes.”

CriticizesComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“Tomorrow they're gonna add limits on sandbox runs without a premium account too”

CriticizesComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“Though, they need to remove the login requirement.”

MixedComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“I am sad that they are asking for a login here though, which doesn't make any sense to me.”

MixedComment from 10 Aug 2026 in “Docker Sandboxes – Disposable, isolated sandboxes for AI agents”

“gives you a meaningfully more secure environment to run it in”

RecommendsComment from 16 Jul 2026 in “Grok Build Is OSS”

“It's been a bit of a pain to figure out and maintain the set of tools I provision into the sandbox”

MixedComment from 13 Jul 2026 in “Building and Shipping Mac and iOS Apps Without Ever Opening Xcode”

“Docker Sandbox is in the right direction. But there's a lot of parts that are still not ironed out yet.”

MixedComment from 10 Jun 2026 in “Claude Desktop spins up a VM without no way of stopping it”

“Locks things way down so that the agent only has access to the files you give it”

RecommendsComment from 1 Jun 2026 on Hacker News

“Better isolation than running it in a container.”

RecommendsComment from 27 Mar 2026 in “Anatomy of the .claude/ Folder”

“it's not available for Linux (so no AWS, no GCP, etc.)”

MixedComment from 16 Mar 2026 in “Docker Sandboxes and Docker Agent”

“Docker sandboxing is kinda nice, but not enough to trust an LLM even with my messaging accounts.”

MixedComment from 13 Mar 2026 in “Run NanoClaw in Docker Sandboxes”

“switched to Docker sandboxes since they switched to mircoVMs too”

RecommendsComment from 27 Feb 2026 in “Let's Discuss Sandbox Isolation”

“I'd say that they are on a good path. However in the end I'd expect it to be a standalone application and ecosystem, not tied to docker/moby”

MixedComment from 17 Feb 2026 in “Running NanoClaw in a Docker Shell Sandbox”

“I believe this is likely the only downside, but for good reasons!”

MixedComment from 2 Feb 2026 in “Docker AI agent sandboxes with HyperVisor isolation”

“We've seen a lot of developers immediately reach for Docker as a quick way to fence agents in.”

RecommendsComment from 21 Jan 2026 in “Show HN: yolo-cage – AI coding agents that can't exfiltrate secrets”

“It'll let you use Claude Code + Containers without Docker-in-Docker.”

RecommendsComment from 20 Jan 2026 in “Running Claude Code dangerously (safely)”

“uses MicroVM isolation to solve this exact problem”

RecommendsComment from 20 Jan 2026 in “Running Claude Code dangerously (safely)”

“Exactly for this problem, the docker sandbox command was added to the cli”

RecommendsComment from 15 Dec 2025 in “Claude CLI deleted my home directory and wiped my Mac”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.