Skip to content
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

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

Open
vanthome opened this issue Jan 27, 2021 · 2 comments
Open

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

vanthome opened this issue Jan 27, 2021 · 2 comments

Comments

@vanthome
Copy link

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
Copy link
Author

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

@dothebart
Copy link
Contributor

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants