-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container should not run as root! #45
Comments
I think that this article explains very well how uid/gid are working inside a Docker container and in the host: https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf The orientDB team can improve the documentation, but more important all the users should understand better how Docker works. |
I dont understand then what is going on because when I run orientdb it is DEFINITELY running as root and that is a security risk. I was only running the "latest" image in docker which is oddly the 2.2 release, not the 3.0. I believe you have to set USER in the dockerfile. |
I think you should describe an orientDB user as the USER in the dockerfile. Is there a 3.0+ release of the docker version yet? |
How do you get past the permissions denied error upon deployment of OrientDB? |
I could only run it without docker. |
Currently the docker container for orientdb runs as root and that means that the user has to grant the container access to the entire filesystem and that is super dangerous. The image should be changed to reuqire a user named
orientdb
in the group docker to run properly. Then the instructions for install should be updated to say:The text was updated successfully, but these errors were encountered: