Tailscale is Wireguard made easy. https://github.com/tailscale/tailscale
100K+
Up to date multi-platform images are built an hour after upstream release and rebuilt at least once a week.
# Compose file created with autocompose and https://hub.docker.com/r/nfrede/tailscale
services:
tailscale:
container_name: tailscale
image: jauderho/tailscale:latest
restart: unless-stopped
command:
- tailscaled
cap_add:
- NET_ADMIN
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.forwarding=1
volumes:
- ./config:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun
Store environment variables in .env:
HOSTNAME=<CUSTOM-HOSTNAME>
ACCEPTDNS=true/false
ACCEPTROUTES=true/false
ADVERTISEROUTES=<ROUTES-GO-HERE>
AUTHKEY=<MAGIC-GOES-HERE>
To see status:
docker exec tailscale tailscale status
Content type
Image
Digest
sha256:4e3e6efc6…
Size
20.7 MB
Last updated
about 2 hours ago
docker pull jauderho/tailscale