Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to setup promethus on docker

docker run -d -p 9090:9090 --user 996:996  
--net=host 
-v /etc/prometheus/prometheus.yml  
-v /data/prometheus  
prom/prometheus  
--config.file="/etc/prometheus/prometheus.yml"  
--storage.tsdb.path="/data/prometheus"
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #setup #promethus #docker
ADD COMMENT
Topic
Name
1+7 =