-
Notifications
You must be signed in to change notification settings - Fork 278
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
[Enhancement] Running release docker image as non-opensearch(1000) user #3625
Comments
@peterzhuamazon @prudhvigodithi |
Hi @Raniz85 we switch the user to 1000 here: In your command, you have Is there a reason you cannot run as 1000 user here? Thanks. |
This is not a bug but a feature request, which we are not having at the moment. Allowing non-opensearch(1000) user can potential change the structure of the docker image that we designed on. cc: @bbarani to comment on this one. Thanks. |
Describe the bug
If trying to execute the docker image as someone other than UID 1000 (for example on OpenShift), startup fails with
permission denied
To Reproduce
Run docker image as an unprivileged user e.g.
Expected behavior
OpenSearch starts successfully
Host/Environment (please complete the following information):
OpenSearch 2.7.0 (sha256:55f1f67e7d3645aa838b63a589bce5645154ba275814e52d4638d371ca0f8cb5)
Tested on:
168547333822.04~995127e SMP PREEMPT_DYNAMIC Tue M x86_64 x86_64 x86_64 GNU/Linuxpodman version 3.4.4
Additional Information
This is due to /usr/share/openshift having permission 0700:
There are likely more ownership issues to iron out when running as an unprivileged user.
The text was updated successfully, but these errors were encountered: