logoalt Hacker News

steve_taylortoday at 5:00 AM9 repliesview on HN

I've been running Claude Code with --dangerously-skip-permissions in a Docker container for the last month or so, allowing me to get up and stretch my legs while it does its thing. I definitely wouldn't want to run it unsandboxed.


Replies

SchemaLoadtoday at 6:14 AM

Sandboxing seems like the obvious solution. These tools prompt me to review an absurd number of very complex bash commands where there is realistically no way to carefully review them. I just want to put the thing in a box with the code and let it run any number of commands on the code without prompting.

show 1 reply
franzetoday at 5:20 AM

I built an (overengineered) app for that AIFCC https://apps.apple.com/app/aifcc-ai-first-computer/id6782364...

runs a sandboxed linux on your mac, and the agents have full system rights within there and run in yolo mode

show 1 reply
lukantoday at 5:16 AM

Another nice option to do this while staying in control, is activate /remote-control and approve from mobile while walking around.

konsnostoday at 5:17 AM

Can you share your experience? What did you flag during those sessions?

arvyytoday at 6:36 AM

same, and unlike other repliers, I'll say one doesn't need to reinvent a new tool for this. Just use devcontainers.

show 1 reply
allan_stoday at 5:26 AM

There's actually a setting.json key to not have to put the option

etoxintoday at 5:27 AM

I'm using Docker Sandboxes with a custom Kit. The cli is nice and the TUI is also good. https://docs.docker.com/ai/sandboxes/

jsiepkestoday at 5:14 AM

Same here. I use this utility to make it easier on Linux to run Claude in Podman: https://github.com/mismosmi/ai-pod

kmehtoday at 5:21 AM

[dead]