Skip to content

Commit

Permalink
[skip ci] compose: add tun device to tailscale
Browse files Browse the repository at this point in the history
Fixes the compose setup in recent containerd versions
  • Loading branch information
Erisa authored Dec 2, 2024
1 parent d8f564a commit 56fdcd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ services:
image: tailscale/tailscale:latest
volumes:
- ./data/ts-state:/var/lib/tailscale
devices:
- /dev/net/tun:/dev/net/tun
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- TS_STATE_DIR=/var/lib/tailscale
Expand Down

0 comments on commit 56fdcd9

Please sign in to comment.