forked from DevOps/deploy.stack
fix: 移除cAdvisor安全限制并启用特权模式
为了允许cAdvisor访问更多主机信息以提供完整的监控数据,移除了no-new-privileges安全选项并启用privileged模式
This commit is contained in:
@@ -15,6 +15,5 @@ services:
|
|||||||
- '/var/run:/var/run:ro'
|
- '/var/run:/var/run:ro'
|
||||||
- '/:/rootfs:ro'
|
- '/:/rootfs:ro'
|
||||||
user: '1000:1000'
|
user: '1000:1000'
|
||||||
security_opt:
|
privileged: true
|
||||||
- no-new-privileges
|
|
||||||
read_only: true
|
read_only: true
|
||||||
Reference in New Issue
Block a user