https://github.com/hojulian/tailscale-relay
Tailscale docker image in relay mode
https://github.com/hojulian/tailscale-relay
docker tailscale
Last synced: 2 months ago
JSON representation
Tailscale docker image in relay mode
- Host: GitHub
- URL: https://github.com/hojulian/tailscale-relay
- Owner: hojulian
- Created: 2020-07-21T14:33:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-26T14:59:40.000Z (over 4 years ago)
- Last Synced: 2025-04-09T17:14:34.296Z (2 months ago)
- Topics: docker, tailscale
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 21
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tailscale-relay
This is a docker image based on `alpine:3.12` for setting up a [tailscale](https://tailscale.com) instance in relay mode.
## Prerequisites
- Defined docker network via `docker network create -d bridge `
- Subnet network via `docker inspect | grep Subnet`
- Auth key from https://login.tailscale.com/admin/authkeys (e.g. `tskey-123abc...`)## Requirements
- `--cap-add=NET_ADMIN`
- Volume for persistent storage `/tailscale`## Use
Run the following `docker run` command.
- `AUTHKEY=tskey-123abc...`
- `ROUTES=172.31.0.0/16````bash
docker run -d \
-v /tailscale \
--cap-add=NET_ADMIN \
--network= \
-e "ROUTES=" \
-e "AUTHKEY=" \
xumr0x/tailscale-relay:latest
```Find this image on [Docker Hub](https://hub.docker.com/r/xumr0x/tailscale-relay)