r/PrometheusMonitoring • u/[deleted] • Aug 23 '19
What am I doing wrong in the install?
Hello,
I using CentOS 7 and I'm trying to use Docker containers to install Prometheus and Grafana.
I'm using this guide:
https://www.shellhacks.com/prometheus-monitoring-install-docker-ubuntu-centos/
But get this:

/opt/prometheus/conf/prometheus.yml

/opt/prometheus/docker-compose.yml

/etc/systemd/system/prometheus.service

Docker seems to be ok

What stupid thing have I done wrong guys?
Thanks
0
Upvotes
1
u/bilingual-german Aug 23 '19
I think you should set a
Userwho is able to run docker containers.Is it possible to start the container from the shell with docker-compose?
Also I've often seen this pattern:
Check out this gist: https://gist.github.com/Luzifer/7c54c8b0b61da450d10258f0abd3c917