-
Notifications
You must be signed in to change notification settings - Fork 54
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
Container running as root #87
Comments
Hum, actually it's using gosu. Why not just use "USER" in the Dockerfile ? Problem is, anybody that can "exec" into the container is actually "root". |
@JordanP I think this is mostly for historic reasons, since Docker didn't always support running the container as non-root. We'll review whether we can move away from the We would of course also welcome a patch for this, if you'd like. |
Closing based on #174 being merged. |
Hi,
Is there a reason with the container is running as root ?
It looks like the Dockeerfile (https://github.com/pganalyze/collector/blob/master/Dockerfile#L4) is adding a user but no "USER" directive, that user is not actually used.
The text was updated successfully, but these errors were encountered: