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

How to Run this fluentd docker image as non-root user #81

Closed
alamzeeshan opened this issue May 12, 2017 · 2 comments
Closed

How to Run this fluentd docker image as non-root user #81

alamzeeshan opened this issue May 12, 2017 · 2 comments

Comments

@alamzeeshan
Copy link

I am using the Apline version https://github.com/fluent/fluentd-docker-image#apline-version

When I run this, it is running as ROOT

After running this as docker image

docker exec -it b3c565091160 /bin/sh

cat /etc/passwd

fluent:x:1000:1000::/home/fluent:

And

/home/fluent # ps -ef
PID   USER     TIME   COMMAND
    1 root       0:00 {fluentd} /usr/bin/ruby /usr/bin/fluentd -c /fluentd/etc/fluent.conf -p /fluentd/plugins
    8 root       0:12 {fluentd} /usr/bin/ruby /usr/bin/fluentd -c /fluentd/etc/fluent.conf -p /fluentd/plugins
   22 root       0:00 /bin/sh
   28 root       0:00 ps -ef
/home/fluent # whoami
root

How can run this Fluentd as fluent user, specifically user 1000 instead of ROOT?

@repeatedly
Copy link
Member

Could you try new images?

@repeatedly
Copy link
Member

No response

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