fix: 恢复 Kata DinD cgroup 初始化
yaml / yaml (pull_request) Successful in 17s

This commit is contained in:
2026-09-21 11:14:52 +00:00
parent 47ff73cefb
commit 834fdcb771
2 changed files with 10 additions and 1 deletions
+6 -1
View File
@@ -112,7 +112,12 @@ spec:
image: docker.io/library/docker:29.1.5-dind
command: [/bin/sh, -c]
args:
- test -e /dev/kmsg || mknod /dev/kmsg c 1 11; exec dockerd --host=unix:///run/docker/docker.sock --group=2000 --storage-driver=overlay2
- |
test -e /dev/kmsg || mknod /dev/kmsg c 1 11
exec dockerd-entrypoint.sh dockerd \
--host=unix:///run/docker/docker.sock \
--group=2000 \
--storage-driver=overlay2
securityContext:
privileged: true
volumeMounts: