Skip to content

tailscale/codespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

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.