Update README.md

Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Alfedo Funicello <imalfree@live.com>
This commit is contained in:
Alfedo Funicello 2024-12-23 20:40:52 +01:00 committed by GitHub
parent 1d9dae0100
commit 110b7039f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ docker run -d \
--net="host" \
--pid="host" \
-v "/:/host:ro,rslave" \
-v "/var/lib/node_exporter/textfile_collector:/var/lib/node_exporter/textfile_collector"
-v "/var/lib/node_exporter/textfile_collector:/textfile_collector"
quay.io/prometheus/node-exporter:latest \
--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