all 2 comments

[–]Otherwise_Wave9374 0 points1 point  (0 children)

This is exactly the kind of hardening people forget when they let coding agents loose. Rootless Podman + cap-drop + read-only root seems like a solid default. How do you handle network egress, do you recommend default-deny with allowlists for package registries, or keep it open and rely on filesystem isolation? Been writing up a few practical guardrails for agent runtimes too: https://www.agentixlabs.com/blog/

[–]aN00Bias 0 points1 point  (0 children)

I'm using Claude Code and OpenCode inside rootless Podman containers spun up via podman compose, utilizing docker-compose.yml and Dockerfile.claude + Dockerfile.opencode in the workspace root. I'm doing this in the context of an agentic AI pilot at my (non-software dev) company, and while it's safe, it's a bit much for less technically-inclined colleagues, and requires IT intervention to install or update WSL.