On this page http://docs.grafana.org/installation/docker/ it says “The Docker container exposes two volumes, the sqlite3 database in the folder /var/lib/grafana and configuration files is in /etc/grafana/ folder. You can map these volumes to host folders when you start the container:”
Then it shows an example…
$ docker run -d -p 3000:3000
-v /var/lib/grafana:/var/lib/grafana
-e “GF_SECURITY_ADMIN_PASSWORD=secret”
grafana/grafana
If I add "-v /etc/grafana:/etc/grafana " I don’t get a grafana.ini in my mapped folder and the instance goes into a restart loop.
The folder is empty. Is it looking for a ‘grafana.ini’ file and not finding it and that is why it keeps restarting?