Claude will add Docker support and a few more tweaks in the next couple of days.
Running Claude Code dangerously (safely)
261–265 of 265 posts
Re: Running Claude Code dangerously (safely)
#262There are two spheres of influence you need to consider. The local machine/vm/container that the agent is running in. But also the effect the agent can have on the outside world - using auth tokens or ssh keys or apis that is has access to. This article largely deals with the first problem and ignores the second. You can have the local environment completely isolated with vagrant. But if you’re not careful with auth…
Hmm, perhaps I'm missing something, so let's go through it step by step and see where the disconnect is: - There's a cloned 'my-project' git repo on the base OS - The 'Vagrantfile' is added to the project - 'vagrant up', 'vagrant ssh' and claude login is run inside the VM At this stage, besides the source code and the Claude Code token (after logging in), there are no other credentials on the VM: no SSH keys, no DB c…
Re: Running Claude Code dangerously (safely)
#263It's impossible to not get decision-fatique and just mash enter anyway after a couple of months with Claude not messing anything important up, so a sandboxed approach in YOLO mode feels much safer. It takes the stress about needing to monitor all the agents all the time too, which is great and creates incentives to learn how to build longer tasks for CC with more feedback loops. I'm on Ubuntu 22.04 and it was surpris…
I'm currently stuck on Windows, but I thought sandboxing was built in to Claude Code as a feature on Linux with the /sandbox command?
Re: Running Claude Code dangerously (safely)
#264Re: Running Claude Code dangerously (safely)
#265Earlier quoted context omitted.
Why do you need to share anything? Code goes through GitHub - VM has it's own repo clone, if you need data files, you mount them read-only in the VM, have a read-write mount for output data.
I'd like to be able to see and edit the code in an IDE