Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uppermission denied when open DB on 2.0.0-beta.0 #2939
Comments
This comment has been minimized.
This comment has been minimized.
|
As a security improvement, we recently changed default user of our docker container to nobody. The volume you mount into the container must allow that user to read and write files in the data directory. Alternatively, you can change the user running the container. |
This comment has been minimized.
This comment has been minimized.
|
Also, you are using
So I suggest you add to your template:
Closing this as this is not a bug in prometheus itself, please reopen if you think otherwise. |
gouthamve
closed this
Jul 13, 2017
krasi-georgiev
referenced this issue
Dec 4, 2017
Closed
volume bind not happening between local volume and /data (running in the container) #3503
This comment has been minimized.
This comment has been minimized.
var23rav
commented
May 4, 2018
•
|
try The Dockerfile in master branch has added nobody as a default user. So if you want the update I thinks its better to use prom/promethues:master |
Callisto13
referenced this issue
May 18, 2018
Closed
Docker file permission issue after upgrading PCF #79
This comment has been minimized.
This comment has been minimized.
t3hmrman
commented
May 21, 2018
|
Just wanted to add for anyone that might run into this, if you're using Prometheus ephemerally you can use |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
WeiBanjo commentedJul 12, 2017
What did you do?
Running 2.0.0-beta.0 in Kubernetes
What did you expect to see?
Prometheus starts properly
What did you see instead? Under which circumstances?
Prometheus crashes because of permission denied. I was running v2.0.0-alpha.3 before without problem.
Environment