This repository contains a feature for GitHub Codespaces to connect the running VM to a Tailscale network.
To get started, add the following feature
to your devcontainer.json:
"runArgs": ["--device=/dev/net/tun"],
"features": {
// ...
"ghcr.io/tailscale/codespace": {}
// ...
}Then launch your Codespace. After it starts up, run tailscale up:
sudo tailscale up --accept-routesYou'll only need to run tailscale up once per Codespace.
The Tailscale state will be saved between rebuilds.