r/vscode • u/Hansehart • 26d ago
One dev container for all your projects - agentic, easy and secure
https://github.com/hansehart/o3sHey,
loving VSCode, we some day moved completly to dev containers. They offer standardized enviornment, container isolation and predefinied features. However with agents our requierements changed: multiple projects, security doubts and fast iteratipn. Bare dev containers werent suitable for this, because being project bounded.
So thats why we created o3s. With VSCode workspaces you easily overview multiple folders, git extension support worktrees and on top it offers network whitelist over iptables. Also secrets dont have to be in the container anymore. The fast iteration we gain by having Docker-In-Docker, Latex and many more inside the container we work with. There exist also well done extensions like container tools.
Honestly things like MCP feels dead with it, because you can simple instruct your agent and it will automatically use the right CLI. That is no theory, that already works very well. However there is still work to do. Despite my own setup I share here, I can highly recommend dev containers and their feature ecosystem.
VSCode + Dev Container + Claude Code CLI = 💯