Run Claude Code in a Docker sandbox
48,218 viewsvia X
Want to run Claude Code in yolo mode but don't want it to potentially cripple your system? Easy 🔥
Install Docker to run it in a sandbox w/ this script:
curl -sSL https://gist.github.com/iannuttall/da878e583f39029a121727ce83174f82/raw/safe-yolo.sh | bashScript below:
The script:
- builds Anthropic's official secure docker container
- creates a "yolo" command to run docker + `claude --dangerously-skip-permissions`
- mounts your current folder when you run yolo
https://gist.githubusercontent.com/iannuttall/da878e583f39029a121727ce83174f82
Ian's List
Join 15k+ subscribers