typora/note/devops/监控/docker-nodeexporter.md

13 lines
205 B
Markdown
Raw Normal View History

2024-12-11 21:48:55 -05:00
### docker 部署
```bash
docker run -d \
--name=nodexeporter_on_openwrt \
--net="host" \
--pid="host" \
-v "/:/host:ro,rslave,shared" \
quay.io/prometheus/node-exporter:latest \
--path.rootfs=/host
```