Installation | Prometheus
prometheus.io › docs › prometheusBind-mount your prometheus.yml from the host by running: docker run \ -p 9090:9090 \ -v /path/to/prometheus.yml:/etc/prometheus/prometheus.yml \ prom/prometheus Or bind-mount the directory containing prometheus.yml onto /etc/prometheus by running: docker run \ -p 9090:9090 \ -v /path/to/config:/etc/prometheus \ prom/prometheus