447 B
447 B
Portainer Stack:
---
version: "3.8"
services:
tailscale:
container_name: tailscale
image: tailscale/tailscale
command: tailscaled
restart: unless-stopped
network_mode: host
privileged: true
volumes:
- /dev/net/tun:/dev/net/tun
- /var/lib:/var/lib
labels:
- com.centurylinklabs.watchtower.enable=true
Then to login, from the terminal send:
docker exec tailscaled tailscale up