Skip to content

xxynly/codespace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": {}
  // ...
}

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.

About

Experimenting with codespaces

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%