
Running VS Code and Claude Code in a Docker Cloud Sandbox
I have been testing out Docker’s cloud sandboxes (sbx --cloud) recently and wanted a quick way to spin up a disposable, browser-based IDE with Claude Code ready to go. I put together krisfoster/sbx-cloud-code-server-demo, a small wrapper around sbx and the code-server mixin kit from docker/sbx-kits-contrib. Run one script, wait for the health check to pass, and open the printed URL to get VS Code and the Claude Code extension running inside a remote microVM. How the Launch Script Works Local sandboxes mount your current directory from the host machine. Cloud sandboxes do not have a host filesystem to mount, and configuring ports, network egress, and workspace directories by hand takes several commands. The launch.sh script ties those steps together: ./launch.sh # medium sandbox (4 vCPU / 8 GiB), 4h TTL ./launch.sh -n my-demo -t 2h -s large # custom name, TTL, and size ./launch.sh -r https://github.com/owner/repo.git # clone a repo into the workspace ./launch.sh -y # skip permission prompts in the Claude VS Code panel ./teardown.sh # destroy the sandbox when finished Under the hood, launch.sh walks through a few steps: ...




