While following the example: monitoring-prometheus-grafana, I encountered with the following error: err="open /prometheus/queries.active: permission denied" in the logs of the prometheus container.
It is simply that you have to change ownership for /data/prometheus folder so that inside the container the mounted folder is accesible. This can easily be done with the following command:
sudo chown -R 65534:65534 data/prometheus/
Perhaps this happened because I'm not running on rootless docker, however I think this should be specified as one of the steps in the repo's README
While following the example: monitoring-prometheus-grafana, I encountered with the following error:
err="open /prometheus/queries.active: permission denied"
in the logs of the prometheus container.It is simply that you have to change ownership for
/data/prometheus
folder so that inside the container the mounted folder is accesible. This can easily be done with the following command:sudo chown -R 65534:65534 data/prometheus/
Perhaps this happened because I'm not running on rootless docker, however I think this should be specified as one of the steps in the repo's README