Run a Tailscale subnet router on balena!
// readme
balena-tailscale
Add your device to your Tailscale network with this block!
Usage
To use this block, add a service in your docker-compose.yml file as shown
below.
volumes:
...
ts-state: {}
services:
...
tailscale:
# where <arch> is one of aarch64, armv7hf or amd64
image: bh.cr/gh_klutchell/tailscale-<arch>
network_mode: host
restart: always
volumes:
- ts-state:/var/lib/tailscale
labels:
- io.balena.features.kernel-modules=1
cap_add:
- net_admin
- sys_module
tmpfs:
- /tmp
- /var/run/
To pin to a specific version of this block use:
services:
...
tailscale:
# where <version> is the release semver or release commit ID
image: bh.cr/gh_klutchell/tailscale-<arch>/<version>
network_mode: host
restart: on-failure
volumes:
- ts-state:/var/lib/tailscale
labels:
- io.balena.features.kernel-modules=1
cap_add:
- net_admin
- sys_module
tmpfs:
- /tmp
- /var/run/
Customization
Environment Variables
The supported environment variables are detailed on the [official DockerHub…