From dd2d860243ed40911aeffcfea49fca4f2f9d538f Mon Sep 17 00:00:00 2001 From: alexz Date: Thu, 25 Dec 2025 02:30:29 +0000 Subject: [PATCH] Add cgroupnsMode to docker-compose.json --- apps/rego-tunnel-linux/docker-compose.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/rego-tunnel-linux/docker-compose.json b/apps/rego-tunnel-linux/docker-compose.json index 8cfdd9a..e336656 100755 --- a/apps/rego-tunnel-linux/docker-compose.json +++ b/apps/rego-tunnel-linux/docker-compose.json @@ -29,8 +29,16 @@ "readOnly": true, "shared": false, "private": false + }, + { + "hostPath": "/sys/fs/cgroup", + "containerPath": "/sys/fs/cgroup", + "readOnly": false, + "shared": false, + "private": false } ], + "stopSignal": "SIGRTMIN+3", "devices": [ "/dev/net/tun:/dev/net/tun" ], @@ -38,6 +46,7 @@ "capAdd": [ "NET_ADMIN" ], + "cgroupnsMode": "host", "isMain": true, "extraLabels": { "generated": true, @@ -46,4 +55,4 @@ } } ] -} \ No newline at end of file +}