mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-20 23:46:09 +01:00
0f9842f20a
* strip rootfs prefix for run in docker * Use `/` as default value of path.rootfs, and parse mounts from `/proc/1/mounts`. * No need to mount `/proc` and `/sys` because we share host's PID namespace, which allows processes within the container to see all of the processes on the system. Closes: #66 Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com> Signed-off-by: Yecheng Fu <cofyc.jackson@gmail.com> |
||
---|---|---|
.. | ||
mounts |