From a3107467af7c607aaae23f30e04ed6bb1da0cf2e Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Wed, 3 Dec 2025 18:34:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4cAdvisor=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E9=99=90=E5=88=B6=E5=B9=B6=E5=90=AF=E7=94=A8=E7=89=B9?= =?UTF-8?q?=E6=9D=83=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为了允许cAdvisor访问更多主机信息以提供完整的监控数据,移除了no-new-privileges安全选项并启用privileged模式 --- base/cadvisor.stack.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base/cadvisor.stack.yaml b/base/cadvisor.stack.yaml index 12c0e53..d87ed73 100644 --- a/base/cadvisor.stack.yaml +++ b/base/cadvisor.stack.yaml @@ -15,6 +15,5 @@ services: - '/var/run:/var/run:ro' - '/:/rootfs:ro' user: '1000:1000' - security_opt: - - no-new-privileges + privileged: true read_only: true \ No newline at end of file