Add cgroupns=host for systemd in cgroup v2
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-25 01:13:20 +00:00
parent a17fe5843d
commit 2aba0ee03b
2 changed files with 2 additions and 0 deletions

View File

@@ -42,6 +42,7 @@
"/run", "/run",
"/run/lock" "/run/lock"
], ],
"cgroupParent": "host",
"devices": [ "devices": [
"/dev/net/tun:/dev/net/tun" "/dev/net/tun:/dev/net/tun"
], ],

View File

@@ -19,6 +19,7 @@ services:
tmpfs: tmpfs:
- /run - /run
- /run/lock - /run/lock
cgroup: host
stop_signal: SIGRTMIN+3 stop_signal: SIGRTMIN+3
labels: labels:
generated: true generated: true