Prometheus in Docker

Quick Deployment:

prometheus.yml direct bind:

docker run -p 9090:9090 -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus

Volume to host config file:

docker run -p 9090:9090 -v /prometheus-data prom/prometheus --config.file=/prometheus-data/prometheus.yml

You will want to change /tmp/prometheus.yml to match your setup!


Docker Hub page: https://hub.docker.com/r/prom/prometheus

Install Docs: https://prometheus.io/docs/prometheus/latest/installation/

Config Docs: https://prometheus.io/docs/prometheus/latest/configuration/configuration/


Revision #2
Created Tue, Jul 2, 2019 6:08 PM by Alexander Henderson
Updated Mon, Jul 15, 2019 2:03 PM by Alexander Henderson