From 9a963ca8ea8a3f7f39b27cf0fea2bf8d7a67a515 Mon Sep 17 00:00:00 2001 From: czephyr Date: Mon, 23 Dec 2024 20:45:21 +0100 Subject: [PATCH] added backslashes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2dadfea..6b1bf5c2 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,10 @@ docker run -d \ --net="host" \ --pid="host" \ -v "/:/host:ro,rslave" \ - -v "/var/lib/node_exporter/textfile_collector:/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 + --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.