arangodb / arangodb-docker

Docker container for ArangoDB
Apache License 2.0
106 stars 32 forks source link

Let service run as application user instead of root user #96

Open vanthome opened 3 years ago

vanthome commented 3 years ago

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.

vanthome commented 3 years ago

Will you solve this or is this to be maintained as is?

dothebart commented 3 years ago

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: