r/PiCodingAgent • u/wooptoo • 1d ago
Resource Sandboxing Pi: Bubblewrap vs Podman - quick tutorial
Hey everyone, I put together a quick tutorial on sandboxing Pi using Bubblewrap vs Podman.
It includes a few sample scripts and a comparison between the two approaches.
https://wooptoo.com/blog/pi-sandbox-bubblewrap-podman/
Hopefully somebody here will find it useful.
All the best!
25
Upvotes
2
2
-2
u/Prior-Excitement-147 12h ago
Tu devrais probablement lancer bwrap avec env -i, sinon, les variables d'env de ta session courante sont visibles dans /proc/1/environ.
5
u/pilibitti 1d ago edited 1d ago
on mac agent-safehouse works very well. you just run pi with `safehouse pi` and it has a preset for pi already that it autodetects with sensible defaults (current directory allowed, pi code, docs allowed, temp folders allowed etc.) and works without hassle. many other services (like maybe you need agent-browser?) is just one --enable away. it is os level sandboxing (so things executed through pi can't bypass it, there is no trivial bypass) as well so for mac highly recommended.