r/PiCodingAgent • u/intpl • 26m ago
Resource One-time podman containers for Pi
Hey guys becaues Pi documentation advises to use containers for Pi usage I created a simple bash script as a center command for my workflow and figured out I'd share here - https://github.com/intpl/sandpi It basically mounts current directory in a disposable container (will destroy after exiting the Pi process), also binds the Pi config directory as read-write, also binds user ~/.agents directory read-only. I use Linux on desktop and servers so this workflow is great for me - I just run around my filesystem running `sandpi` everywhere. Maybe somebody wants to reuse or share a better solution. I created a simple blogpost and recorded a video of me talking as an explanation of why and how - https://gladecki.pl/technical/sandpi/
It happened to me many times before than the agent was doing weird stuff with my system (with OpenCode and omp too) and that's why i created this.
A friend of mine suggested I should have used Nvidia OpenShell but that's an absolute overkill imo.
Btw are there any humans on Reddit anymore?
1
u/architized89 19m ago
I tried docker sbx but that needs a docker login from time to time. Because I’m running almost local only that annoyed me. I settled on microsandbox. That has worked well for me so far.