Hi,
Trying to launch using Docker with the following command:
docker run -d --name=grafana
-e “GF_SERVER_ROOT_URL=http://192.168.0.100”
-e “GF_SECURITY_ADMIN_PASSWORD=SomeSecretPassword”
-e “GF_PATHS_CONFIG=/gf-data/config”
-e “GF_PATHS_DATA=/gf-data/data”
-e “GF_PATHS_HOME=/gf-data/home”
-e “GF_PATHS_LOGS=/gf-data/logs”
-e “GF_PATHS_PLUGINS=/gf-data/plugins”
-e “GF_PATHS_PROVISIONING=/gf-data/provisioning”
-e “GF_INSTALL_PLUGINS=grafana-clock-panel 1.0.1,grafana-simple-json-datasource 1.3.5”
-v /mnt/nfs/grafana:/gf-data/
-p 3000:3000
grafana/grafana
I get the following error and the container doesn’t start:
installing grafana-clock-panel @ 1.0.1
from: https://grafana.com/api/plugins/grafana-clock-panel/versions/1.0.1/download
into: /gf-data/plugins
Installed grafana-clock-panel successfully
Restart grafana after installing plugins .
installing grafana-simple-json-datasource @ 1.3.5
from: https://grafana.com/api/plugins/grafana-simple-json-datasource/versions/1.3.5/download
into: /gf-data/plugins
Installed grafana-simple-json-datasource successfully
Restart grafana after installing plugins .
Grafana-server Init Failed: Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath
I thought the -e “GF_PATHS_HOME=/gf-data/home” option takes care of the homepath. Am I missing something here?
Thanks