docker run -it --rm -v $(pwd):/workspace claude-sandbox
Run an AI coding agent inside a Docker sandbox
Isolating agents in Docker containers limits blast radius if the agent makes unintended changes — it can only affect the mounted volume, not your host system. Essential for running agents in --yolo/full-auto mode safely.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.