arangodb-docker
arangodb-docker copied to clipboard
Let service run as application user instead of root user
trafficstars
In the docker world it's best practice to let a containerized service run as non-root.
For example Postgres create a postgres user and then in the Dockerfile use USER postgres to let the workload run under that user..
I recommend you also introduce such a user for the official ArangoDB container images.
Will you solve this or is this to be maintained as is?
Hi, since this will be a breaking change for existing users we may only do this with an arangodb 4.0 release.
I also remember this being trouble some for mac/windows docker users.
There are two options to have to fix this for you right now:
- derive the container
- start the container with
--uid?