-
Notifications
You must be signed in to change notification settings - Fork 378
Use nobody user in etc #124
Comments
/cc @torkelo @jeremyeder |
the docker container currently installs grafana as a debian packages. |
docker run --name gf -dt -v $(pwd)/grafana.ini:/etc/grafana/grafana.ini grafana/grafana:master -p 3001:3001 see: Also i tried to change the file group permissions, but it didn't work |
found it, my grafana.ini file wasn't match the group id in the container. initially I use grafana.ini with the following permissions: but than I noticed it has diffrent id so I grab the right id from the container which is 107. |
We should fix this by using the nobody user. |
Our goal was to introduce to fix this before we released 5.0 but right now the beta period is to short for that. This has to wait until 5.1 |
We no longer chown |
thanks! |
Sum up the issue:
when inject ini files to etc/grafana, grafana will fail to start due to bad permissions.
alternatives:
Initial message:
I'm trying to inject a custome configuration to my grafana using the following method:
docker run --name gtest -d -v defaults.ini:/var/lib/grafana/conf/defaults.ini -p 3000:3000 grafana/grafana:master
I also tried to place it under /usr/share/grafana/conf/
but it dose not work. any ideas ?
I would like to do the same actually for datasource file.
dose it supported ?
@bergquist
The text was updated successfully, but these errors were encountered: