Make bind-mounts in Docker example read-only (#598)

This commit is contained in:
Johannes 'fish' Ziemke 2017-06-08 18:21:44 +02:00 committed by GitHub
parent 30fb33f7a4
commit 0451c9c5f6

View File

@ -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 \