mvisonneau / docker-tailscale

Run a Tailscale agent/relay in a container
Apache License 2.0
86 stars 41 forks source link

docker-tailscale

Run Tailscale (agent/relay) in a container

Usage

Docker

docker run -d \
  -e TAILSCALE_AUTH_KEY=<your_auth_key> \
  -v /dev/net/tun:/dev/net/tun \
  --network host \
  --privileged \
  mvisonneau/tailscale

Kubernetes

# Add the helm repository to your local client
~$ helm repo add mvisonneau https://charts.visonneau.fr

# Install the relay
~$ helm install \
  tailscale-relay \
  mvisonneau/tailscale-relay \
  --set config.authKey=<your_auth_key>

More information on how to use the chart here.

Credits

inspired by @hamishforbes gist