docker运行node_exporter

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/lyl0724/article/details/88050669

GitHub地址:https://github.com/prometheus/node_exporter

docker run -d \
  --net="host" \
  --pid="host" \
  --name=node-exporter \
  -v "/:/host:ro,rslave" \
  quay.io/prometheus/node-exporter \
  --path.rootfs /host

猜你喜欢

转载自blog.csdn.net/lyl0724/article/details/88050669