mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-03-05 21:00:12 -08:00
update docker example
Signed-off-by: czephyr <alfredo.funicello@exoscale.ch>
This commit is contained in:
parent
b8aac7c92e
commit
1d9dae0100
|
@ -44,8 +44,10 @@ docker run -d \
|
|||
--net="host" \
|
||||
--pid="host" \
|
||||
-v "/:/host:ro,rslave" \
|
||||
-v "/var/lib/node_exporter/textfile_collector:/var/lib/node_exporter/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 /var/lib/node_exporter/textfile_collector
|
||||
```
|
||||
|
||||
For Docker compose, similar flag changes are needed.
|
||||
|
|
Loading…
Reference in a new issue