From 56fdcd9edf148b74c6c7ebf6b3771da2da3d6326 Mon Sep 17 00:00:00 2001 From: Erisa A Date: Mon, 2 Dec 2024 12:08:13 +0000 Subject: [PATCH] [skip ci] compose: add tun device to tailscale Fixes the compose setup in recent containerd versions --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 5ec278d0..a47b1e27 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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