Hacker GitHub

← All repos

jrz/container-shell

View on GitHub ↗ ★ 112 Shell

Starts and attaches a sandboxed shell using docker with access to the current or project directory

30 mentions on Hacker News by 1 person: 1 story, 29 comments · first 2024-02-08 · latest 2026-08-11

Mentions per year 30 mentions · busiest year 2025 (15)
20082026
  1. I wrote https://github.com/jrz/container-shell which I use daily for both claude and other things. Compatible with Orbstack
  2. https://github.com/jrz/container-shell It does something very simple, and it’s a POSIX shell script. Works on Linux and macOS. Uses docker to sandbox using bind mount
    comment by jbverschoor · 2026-03-28 · in Go hard on agents, not on your filesystem
  3. Interesting take on the same problem I created https://github.com/jrz/container-shell which basically launches a persistent interactive shell using docker, chrooted to the CWD CWD is bind mounted so the rest is simply not visible and you…
    comment by jbverschoor · 2026-03-28 · in Go hard on agents, not on your filesystem
  4. …were alive anymore. However, it still drains power when you’re actively using it (ssh, vscode). https://github.com/jrz/container-shell
  5. Quite similar to how Im using docker for a few years https://github.com/jrz/container-shell
    comment by jbverschoor · 2026-02-27 · in Let's discuss sandbox isolation
  6. Sandbox container time https://github.com/jrz/container-shell
  7. I use the following to at least sandbox things in containers with an easy to use develop experience. https://github.com/jrz/container-shell
  8. …the current/project dir for isolation, and shuts down automatically when it can. Container Shell - https://github.com/jrz/container-shell
  9. Check out my tool https://github.com/jrz/container-shell I basically use (orbstack) docker containers as light weight VM, easily accessible through multiple shells and they shutdown when nothing is running anymore. I use them for…
    comment by jbverschoor · 2025-09-06 · in I ditched Docker for Podman
  10. same.. I use https://github.com/jrz/container-shell to start a fresh debian+tools image under the current directory, yet still allows me to easily open multiple terminals to the same instance. shell my:sandbox I also use sandbox-exec with…
  11. …I’m also using it for shell scripts and small utils, and it’s really great. I made https://github.com/jrz/container-shell to improve the experience of scripting cli tools in Swift.
    comment by jbverschoor · 2025-06-04 · in Redesigned Swift.org is now live
  12. Related, https://github.com/jrz/container-shell which uses docker to create adhoc shells / chroots in the current directory.
  13. …best workflow for me. I really wanted to like containers but again, it’s too heavy, buggy, bulky. http://github.com/jrz/container-shell
    comment by jbverschoor · 2025-04-27 · in Tilt: dev environment as code
  14. …shell on steroids. It mounts the current dir to a container. Great for development or sandboxing https://github.com/jrz/container-shell
    comment by jbverschoor · 2025-04-25 · in Swift Container Plugin
  15. I built https://github.com/jrz/container-shell as a simple chroot on docker. I use it for both development and sandboxing. Besides that I have a simple script that starts an ephemeral docker with debian-full + tools. I also have some…
  16. Somewhat related, self promo Docker shell container - https://github.com/jrz/container-shell
    comment by jbverschoor · 2025-03-27 · in Dagger: A shell for the container age
  17. …container with only that for mounted. Works pretty well, but has some quirks here and there https://github.com/jrz/container-shell
  18. …do this, but I don't like the performance. I use my own docker-powered chroot container thingy https://github.com/jrz/container-shell
  19. I use orbstack for lightweight containers (macos docker), and https://github.com/jrz/container-shell for each project or experiment. Lightweight chrooted environments using containers. Firewalls only protect the network stack.
  20. …They let me just try out stuff, and they get shutdown when I’m not on there anymore. Check https://github.com/jrz/container-shell
    comment by jbverschoor · 2025-01-26 · in I don't like Docker or Podman
  21. Install orbstack, problem solved. Want isolation per project / a “virtual environment”? https://github.com/jrz/container-shell
    comment by jbverschoor · 2024-09-02 · in Escaping from Anaconda's Stranglehold on macOS
  22. Please try out my Docker shell container - https://github.com/jrz/container-shell which works great with orbstack
  23. …the current directory, isolating both software installs as well as the rest of your filesystem https://github.com/jrz/container-shell
  24. That what I do. I use https://github.com/jrz/container-shell so my projects are contained, and I'm a little bit protected against supply chain attacks
  25. Not really, you'd still need a proper chroot / etc. Check out https://github.com/jrz/container-shell
  26. Nice! Same-same-but-different shameless plug: https://github.com/jrz/container-shell boot a shell into your container and mount the working/project dir
  27. I created https://github.com/jrz/container-shell to add a layer of security / isolation in addition to tools like asdf.
  28. Just use orbstack, it gives you https and hostnames. Shameless plug: https://github.com/jrz/container-shell in combination with orbstack. Isolated dev environment, easy to use, local tools, https on https://xxxxx.orb
  29. …docker container. Chroot a directory in a container, and does some automatic house keeping etc [1] https://github.com/jrz/container-shell
    comment by jbverschoor · 2024-02-29 · in Over 100k Infected Repos Found on GitHub
  30. ▲ 3
    Show HN: container-shell – containers as chroot on steroids
    story by jbverschoor · 2024-02-08 · 1 comment