Hacker ApprovedDepartments

Devcontainers

Hacker Approved

Development container standard in Developer tools

Recommended for reproducible, isolated team development environments and keeping AI agents off the host, though setup effort is the common caveat.

Recommended for reproducible, isolated team development environments and keeping AI agents off the host, though setup effort is the common caveat.

79 people gave an opinion

recommend it
66
criticize it
13
approval share
84%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: 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 carries the badge

  • 66 people recommend itNeeds 10 or more, met.
  • 5.1 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 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

  • Limits damage from AI agents

    “Wherever practical, I also recommend using devcontainers, so that in addition to breaking supply chain security, large-scale damage would require an unpatched sandbox exploit too.”

    Comment from 25 Mar 2026 in “LiteLLM PyPI has been compromised an hour ago, do not update”

    “both for preventing agents losing your data and defending against secrets-harvesting supply-chain attacks”

    Comment from 1 Jun 2026 on Hacker News

    “the worst thing that can happen is it deletes everything in the filesystem below the mounted repo”

    Comment from 9 Jan 2026 in “AI Zealotry”
  • Keeps host machine clean

    “makes it easy to start working on random projects without installing a bunch of dependencies on the host computer”

    Comment from 15 Dec 2025 in “Ask HN: What Are You Working On? (December 2025)”

    “super easy to setup with VSCode and ensures the AI can't access your main machine”

    Comment from 14 Jul 2026 in “Grok uploaded my user directory to xAI's servers”

    “devcontainers let you completely containerize your development environment”

    Comment from 9 Mar 2026 in “JSLinux Now Supports x86_64”
  • Consistent, shareable team environments

    “It's actually easier to do this than to not, since it provides reusable developer tooling that can be shared among all team members”

    Comment from 8 Apr 2026 in “Slightly safer vibecoding by adopting old hacker habits”

    “Devcontainers work without having to pass special arguments and deal with inconsistent stuff once in the devcontainer itself.”

    Comment from 2 Jul 2026 in “Podman v6.0.0”

    “run reproducible runtimes like k3s or devcontainers so environments stay consistent”

    Comment from 8 Mar 2026 in “Cloud VM benchmarks 2026: performance/price for 44 VM types over 7 providers”
  • Easy setup that just works

    “it 2-for-1 also gives benefit of easy to setup coding env for people who don't care about ai”

    Comment from 13 Jul 2026 in “Grok uploaded my user directory to xAI's servers”

    “Use a .devcontainer and you're done in 10 seconds without any new runtime implementations.”

    Comment from 23 May 2026 in “Deno 2.8”

    “If you’re working in docker-land or can use devcontainers, it just works”

    Comment from 10 Jan 2026 in “I replaced Windows with Linux and everything's going great”

What people warn about

Each mark is one comment

  • Hard setup and configuration

    “Devcontainers look perfect but also like a bit of a burden to entry with regards to setup.”

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

    “My one experience with dev containers put me off of dev containers”

    Comment from 23 Jan 2026 in “What Has Docker Become?”

    “having to craft containers with all my stuff sounds so painful”

    Comment from 3 Feb 2026 in “Sandboxing AI Agents in Linux”
  • Container doesn't protect credentials

    “Once you map your GitHub or AWS token into a container, it’s no longer useful as a security boundary.”

    Comment from 4 Aug 2026 in “Keyv and friends compromised in active Shai-Hulud supply chain attack”

    “given that it just wants full control of docker I'm guessing it takes none of that into consideration”

    Comment from 2 Apr 2026 in “Ask HN: What dev tools do you rely on that nobody talks about?”

What people said

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

“fairly useless if you want to run a random tool like a linter on a random file(s)”

MixedComment from 10 Oct 2026 on Hacker News

“As long as you install all the tools you need in it, it just works.”

RecommendsComment from 3 Oct 2026 in “Updates to Full Disk Access in macOS”

“it seemed like a lot of complexity”

CriticizesComment from 10 Aug 2026 in “Auto mode is now the default in Claude Code”

“It takes a bit of figuring out, but once set up the permission prompts go away”

MixedComment from 10 Aug 2026 in “Auto mode is now the default in Claude Code”

“I quite like the 'features' layer system, adding extra tools to container in a declarative plugin-like way”

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

“Once you map your GitHub or AWS token into a container, it’s no longer useful as a security boundary.”

MixedComment from 4 Aug 2026 in “Keyv and friends compromised in active Shai-Hulud supply chain attack”

“super easy to setup with VSCode and ensures the AI can't access your main machine”

RecommendsComment from 14 Jul 2026 in “Grok uploaded my user directory to xAI's servers”

“gives me much needed flexibility and peace of mind with regards to data separation guarantees”

RecommendsComment from 13 Jul 2026 in “Grok uploaded my user directory to xAI's servers”

“it 2-for-1 also gives benefit of easy to setup coding env for people who don't care about ai”

RecommendsComment from 13 Jul 2026 in “Grok uploaded my user directory to xAI's servers”

“Devcontainers work without having to pass special arguments and deal with inconsistent stuff once in the devcontainer itself.”

RecommendsComment from 2 Jul 2026 in “Podman v6.0.0”

“It's called devcontainers and there is a cli for managing it locally.”

RecommendsComment from 10 Jun 2026 in “macOS Container Machines”

“both for preventing agents losing your data and defending against secrets-harvesting supply-chain attacks”

RecommendsComment from 1 Jun 2026 on Hacker News

“Use a .devcontainer and you're done in 10 seconds without any new runtime implementations.”

RecommendsComment from 23 May 2026 in “Deno 2.8”

“This will limit the agent in what it can do in the system and what IPs/domains it can reach.”

RecommendsComment from 1 May 2026 in “Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library”

“No need for any AI-specific tool, this is exactly what devcontainer is for!”

RecommendsComment from 22 Apr 2026 in “Parallel Agents in Zed”

“With the devcontainer CLI, you can even use it from a terminal, no GUI/IDE required.”

RecommendsComment from 8 Apr 2026 in “Slightly safer vibecoding by adopting old hacker habits”

“It's actually easier to do this than to not, since it provides reusable developer tooling that can be shared among all team members”

RecommendsComment from 8 Apr 2026 in “Slightly safer vibecoding by adopting old hacker habits”

“given that it just wants full control of docker I'm guessing it takes none of that into consideration”

CriticizesComment from 2 Apr 2026 in “Ask HN: What dev tools do you rely on that nobody talks about?”

“Wherever practical, I also recommend using devcontainers, so that in addition to breaking supply chain security, large-scale damage would require an unpatched sandbox exploit too.”

RecommendsComment from 25 Mar 2026 in “LiteLLM PyPI has been compromised an hour ago, do not update”

“the vscode support for that is great and I don't really mind if it fucked up the ephemeral container”

RecommendsComment from 24 Mar 2026 in “Printable Claude Code Cheat Sheet (auto-updated daily)”

“devcontainers let you completely containerize your development environment”

RecommendsComment from 9 Mar 2026 in “JSLinux Now Supports x86_64”

“run reproducible runtimes like k3s or devcontainers so environments stay consistent”

RecommendsComment from 8 Mar 2026 in “Cloud VM benchmarks 2026: performance/price for 44 VM types over 7 providers”

“They're very simple to setup and make using LLMs a lot more secure.”

RecommendsComment from 3 Mar 2026 in “Claude Code escapes its own denylist and sandbox”

“I only use devcontainers for this purpose, I'm not really a fan in general”

MixedComment from 20 Feb 2026 in “GPT 5.3 Codex wiped my F: drive with a single character escaping bug”

“having to craft containers with all my stuff sounds so painful”

CriticizesComment from 3 Feb 2026 in “Sandboxing AI Agents in Linux”

“I also use devcontainers for the cli agents and that has also worked out well.”

RecommendsComment from 2 Feb 2026 in “Two kinds of AI users are emerging. The gap between them is astonishing”

“My one experience with dev containers put me off of dev containers”

CriticizesComment from 23 Jan 2026 in “What Has Docker Become?”

“the development environment itself should be identical across everyone on the team”

RecommendsComment from 22 Jan 2026 in “Threat Actors Expand Abuse of Microsoft Visual Studio Code”

“Devcontainers look perfect but also like a bit of a burden to entry with regards to setup.”

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

“it's pretty good but I occasionally came across dependencies that were difficult to install in containers”

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

“Much more usable than setting up a VM and you can share the same desktop environment as the host.”

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

“I find devcontainers a great way to work with different coding projects”

RecommendsComment from 15 Jan 2026 in “Claude Cowork Runs Linux VM via Apple Virtualization Framework”

“If you’re working in docker-land or can use devcontainers, it just works”

RecommendsComment from 10 Jan 2026 in “I replaced Windows with Linux and everything's going great”

“it gives me a persistent sandbox that have ports opened and work in any container environment”

RecommendsComment from 10 Jan 2026 in “Fly's Sprites.dev addresses dev environment sandboxes and API sandboxes together”

“the worst thing that can happen is it deletes everything in the filesystem below the mounted repo”

RecommendsComment from 9 Jan 2026 in “AI Zealotry”

“running this in a devcontainer[1][2] or as part of a CI system should be completely fine”

RecommendsComment from 9 Jan 2026 in “Show HN: Executable Markdown files with Unix pipes”

“you can just fire up the Ansible-provided Dev Container with all the dependencies”

RecommendsComment from 5 Jan 2026 in “I switched from VSCode to Zed”

“solutions like devcontainers or Nix's development shells can be useful even if costing more overhead”

RecommendsComment from 2 Jan 2026 in “Going immutable on macOS, using Nix-Darwin”

“makes it easy to start working on random projects without installing a bunch of dependencies on the host computer”

RecommendsComment from 15 Dec 2025 in “Ask HN: What Are You Working On? (December 2025)”

“devpod and devcontainers and the whole system was the most joyous developer experience”

RecommendsComment from 12 Nov 2025 in “.NET 10”

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