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

11 lines
277 B
Markdown
Raw Permalink Normal View History

2024-12-11 21:48:55 -05:00
### docker 部署
```bash
docker -H 192.168.0.3 run -itd --name prometheus \
-p 9090:9090 \
-v /mnt/nfs/lxc_data/docker_machine/prometheus/conf:/etc/prometheus \
-v /mnt/nfs/lxc_data/docker_machine/prometheus/data:/opt/bitnami/prometheus/data \
bitnami/prometheus:2.54.1
```