Does docker image have to be run as root #4978
Kagemusha-san
started this conversation in
General
Replies: 1 comment
-
Since I got no answer yet, I tested with a custom data-prepper image that switches to a custom user
Everything seems to work correctly. Would be nice to hear if this is a good approach or if you plan to remove root user in the future. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
we want to add open search to our stack for displaying traces, metrics and logs collected through Open Telemetry Collector. One prerequisite is to not have any docker containers run as root (which is also a best practice). While opensearchproject/opensearch and opensearchproject/opensearch-dashboards run without root, opensearchproject/data-prepper runs as root.
Is there a special reason for this or can this be changed?
Beta Was this translation helpful? Give feedback.
All reactions