[修改]node-exporter特权模式修正

This commit is contained in:
10908
2024-09-25 10:57:51 +08:00
committed by Coding
parent 359709d7b5
commit d233af6f50
4 changed files with 11 additions and 9 deletions

View File

@@ -22,7 +22,9 @@ services:
- prometheus
node-exporter:
build: docker/node_exporter
privileged: true
# privileged: true
network_mode: host
pid: host
volumes:
- '/:/host:ro'
opcua-exporter: