From 0451c9c5f6a5b07093ffade33e67c3cf8098229c Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Thu, 8 Jun 2017 18:21:44 +0200 Subject: [PATCH] Make bind-mounts in Docker example read-only (#598) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2a312ef6..45c38374 100644 --- a/README.md +++ b/README.md @@ -127,9 +127,9 @@ options and bind-mounts: ```bash docker run -d -p 9100:9100 \ - -v "/proc:/host/proc" \ - -v "/sys:/host/sys" \ - -v "/:/rootfs" \ + -v "/proc:/host/proc:ro" \ + -v "/sys:/host/sys:ro" \ + -v "/:/rootfs:ro" \ --net="host" \ quay.io/prometheus/node-exporter \ -collector.procfs /host/proc \