一、安装 node_exporter: image: prom/node-exporter:v1.8.0 container_name: node_exporter volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro - /:/rootfs:ro