Skip to main content

One post tagged with "ubuntu"

View All Tags

Ubuntu VM in VirtualBox as a home for Claude Code

· 13 min read
Stefan Seeland
Code Whisperer

I wanted a disposable Linux machine on my Windows 11 box where Claude Code can run on its own and that I can reach from my phone. Keeping my personal files outside the VM limits its access to my data, though the bidirectional clipboard configured below can still expose copied host data to the guest. A recent Cloud Security Alliance note on prompt injection in Claude Code recommends running agents in a disposable VM. This walkthrough covers creating the VM from the command line, the unattended Ubuntu install, a Hyper-V trap that froze the installer, and starting Claude Code Remote Control on every boot.

Claude Code session of the VM, opened in a browser