Claude Cowork runs Linux VM via Apple virtualization framework
21–30 of 48 posts
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#22Is there an easy way to do something similar for Claude Code? I'm growing tired of babysitting it to make sure it doesn't do anything bad. Late adopter. Started last night. Stayed up four hours past my normal bedtime because I couldn't stop. (Ended up "building" a fancy .MOD player for DOS in Turbo C.) Needed the Max 5x plan after two hours. (The 'Pro' plan should be renamed 'Sampler', made one-time and free with CC…
Isn't the easy way just a development VM? As in: Install your OS of choice in a virtual machine, e.g. even hosted on your main machine. Install the AI coding tool in the virtual machine. Set up a shared folder between host+guest OS. Only let the VM access files that are "safe" for it to access. Its own repo, in its own folder. If you want to give the AI tool and VM internet access and tool access, just limit what it…
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#23How about the windows App ?
I thought it was just a wrapper around an (old) existing tool that has been infinitely rebranded. Their old "remote desktop" program and some web listing capabilities to launch it in "rootless" mode.
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#24Earlier quoted context omitted.
Tried this the other day and the setup on this is super cumbersome and requires you to constantly rebuild your entire dev and Claude Code environment every time you use a new container, including whitelisting URLs for package managers and the like.
There are techniques to mitigate this. You can reuse containers instead of creating a new one each time. You can mount in directories (like ~/.claude) from your local machine so you dont have to set claude up each time.
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#25Is there an easy way to do something similar for Claude Code? I'm growing tired of babysitting it to make sure it doesn't do anything bad. Late adopter. Started last night. Stayed up four hours past my normal bedtime because I couldn't stop. (Ended up "building" a fancy .MOD player for DOS in Turbo C.) Needed the Max 5x plan after two hours. (The 'Pro' plan should be renamed 'Sampler', made one-time and free with CC…
It is not at all ready for public consumption (a face only a mother could love, in other words it's a bugridden mess), but I've considered polishing it and releasing it to the public either as open source or for profit.
Most of it is written with Claude and I've run into roadblocks with Claude being able to do too many things at once and am rewriting as several libraries to improve the focus for Claude agents.
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#26Earlier quoted context omitted.
From within VSCode, you can run devcontainers, which bind mounts the project's directory into an isolated Docker container. Safe for --dangerously-skip-permissions https://code.visualstudio.com/docs/devcontainers/containers
As a note, running devcontainers in VSCode is easy, but not required. There is also a CLI tool that uses the same specifications. You can install it with brew or npm.
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#27Earlier quoted context omitted.
As a note, running devcontainers in VSCode is easy, but not required. There is also a CLI tool that uses the same specifications. You can install it with brew or npm.
I assume that you are talking about the [devcontainers LCI]( https://github.com/devcontainers/cli ) when you say "a CLI"?
I stated using devcontainers through VSCode and find them incredibly helpful. It’s great for me to be able to load up exact coding environments on different computers. But, I only used them through VSCode.
When I wanted to branch out a bit (and especially using coding agents), I started using the CLI version more. I find devcontainers a great way to work with different coding projects and wanted to make sure people knew that there was a way to use them outside of VSCode.
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#28Is there an easy way to do something similar for Claude Code? I'm growing tired of babysitting it to make sure it doesn't do anything bad. Late adopter. Started last night. Stayed up four hours past my normal bedtime because I couldn't stop. (Ended up "building" a fancy .MOD player for DOS in Turbo C.) Needed the Max 5x plan after two hours. (The 'Pro' plan should be renamed 'Sampler', made one-time and free with CC…
/sandbox https://code.claude.com/docs/en/sandboxing
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#29Is there an easy way to do something similar for Claude Code? I'm growing tired of babysitting it to make sure it doesn't do anything bad. Late adopter. Started last night. Stayed up four hours past my normal bedtime because I couldn't stop. (Ended up "building" a fancy .MOD player for DOS in Turbo C.) Needed the Max 5x plan after two hours. (The 'Pro' plan should be renamed 'Sampler', made one-time and free with CC…
And it makes a new lxd container using my base image. Connects using tmux so I can resume anytime after closing the session.
Its like exe.dev or sprites without much effort if you want to self host.
Re: Claude Cowork runs Linux VM via Apple virtualization framework
#30Is there an easy way to do something similar for Claude Code? I'm growing tired of babysitting it to make sure it doesn't do anything bad. Late adopter. Started last night. Stayed up four hours past my normal bedtime because I couldn't stop. (Ended up "building" a fancy .MOD player for DOS in Turbo C.) Needed the Max 5x plan after two hours. (The 'Pro' plan should be renamed 'Sampler', made one-time and free with CC…
GLM 4.7 is not a "Sonnet killer" but it will work just as well for sketching out easier projects, web design and terminal usage. After a while I cancelled my Claude Code plan because I simply didn't do anything that GLM couldn't hammer out equally as well.