Repository navigation
Quality-of-life add-ons for Docker Sandboxes #461
jsimecek
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Just wanted to share my setup for fully replacing
claudeCLI with ansbxwrapper in my day-to-day work. It's not perfect, but it is quite well off and much better than plainsbx, so if you don't want to go through tens of hours of setup to usesbxin a not annoying way, here is a good starting point for you: https://github.com/jsimecek/docker-sandboxes.It is not meant as a long term solution, so as
sbxwill get more features I will replace my custom piping with them. Most notably I add on top:CLAUDE.mdthat explains to the agent that it's running inside a sandbox.zshrcaliases/commands to launch the sandbox with the right settingsbuild.shfor rebuilding these templates if you want to edit anythingYou can just build it locally (e.g.
./build.sh ts), hook up to~/.zshrc, and then run the command (ccts -f= TypeScript sandbox with full network access) instead ofclaudein any project. The same command handles both the first sandbox creation and every start after that.I have my setup for Claude Code, but if you want to use a different agent CLI, you can change the code for that quite easily.
All reactions