mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-08-20 18:33:52 -07:00
Merge 9a963ca8ea
into be19d537cd
This commit is contained in:
commit
1522a4ec28
|
@ -45,8 +45,10 @@ docker run -d \
|
|||
--net="host" \
|
||||
--pid="host" \
|
||||
-v "/:/host:ro,rslave" \
|
||||
-v "/var/lib/node_exporter/textfile_collector:/textfile_collector" \
|
||||
quay.io/prometheus/node-exporter:latest \
|
||||
--path.rootfs=/host
|
||||
--path.rootfs=/host --path.udev.data=/host/run/udev/data --path.procfs=/host/proc --path.sysfs=/host/sys \
|
||||
--collector.textfile.directory /textfile_collector
|
||||
```
|
||||
|
||||
For Docker compose, similar flag changes are needed.
|
||||
|
|
Loading…
Reference in a new issue