Enhanced Docker sandbox templates with oh-my-zsh, VS Code tunnel support and other useful tools
824
Enhanced Docker Sandbox templates built on top of official docker/sandbox-templates images.
Adds a better shell experience and VS Code tunnel support:
Create a sandbox container from a template image:
cd /path/to/your/repo
docker sandbox create -t clgeng/sandbox:claude-code-260317 shell .
Start an interactive shell in the sandbox container:
docker sandbox exec -it -w $PWD <sandbox-name> zsh
Avoid using docker sandbox run ... shell as it always uses bash, ignoring the template's default shell.
Start VS Code tunnel from the sandbox container:
code tunnel --accept-server-license-terms
The first time you run this, it will prompt you to authenticate with GitHub.
After the first time, you can start it in the background:
code tunnel --accept-server-license-terms > /tmp/tunnel.log 2>&1 &
Connect to the tunnel from VS Code on your machine:
Cmd+Shift+P > Remote-Tunnels: Connect to Tunnel...⚠️ If your repo has devcontainer.json, disable the "Dev Containers" extension before connecting to the tunnel, as it will try to start a dev container which doesn't work in this setup.
Save your sandbox state as a new template image (optional):
docker sandbox save <sandbox-name> <new-template-image>
Content type
Image
Digest
sha256:45f6aba85…
Size
525.6 MB
Last updated
7 months ago
docker pull clgeng/sandbox:shell-260317