Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 864 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 864 Bytes

Codespace feature for Tailscale connectivity

This repository contains a feature for GitHub Codespaces to connect the running VM to a Tailscale network.

Start a new codespace

To get started, add the following feature to your devcontainer.json:

"runArgs": ["--device=/dev/net/tun"],
"features": {
  "ghcr.io/tailscale/codespace/tailscale": {
    "version": "latest"
  }
}

Then launch your Codespace. After it starts up, run tailscale up:

sudo tailscale up --accept-routes

You'll only need to run tailscale up once per Codespace. The Tailscale state will be saved between rebuilds.