by ivankra · 11mo ago · 0 comments
alias dr='docker run --rm -it -v "$PWD:$PWD" -w "$PWD"'
alias dr-claude='dr -v ~/.claude:/root/.claude -v ~/.claude.json:/root/.claude.json claude' 1 - https://news.ycombinator.com/item?id=45766478
2 - http://github.com/ashishb/amazing-sandboxI really struggle to understand how this isn't common best practice at this point.
Especially when it comes to agents and anything node related.
Claude is distributed as an npm global, so doubly true.
Takes about 5 minutes to set this up.