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

Openshift will allow only non-root user. This container fails #114

Open
meduri99 opened this issue Mar 1, 2018 · 4 comments
Open

Openshift will allow only non-root user. This container fails #114

meduri99 opened this issue Mar 1, 2018 · 4 comments
Labels
stale Inactive and will be closed automatically

Comments

@meduri99
Copy link

meduri99 commented Mar 1, 2018

I am trying to use this image on my OpenShift Instance. But since there is a restriction to run the containers on pods as non-root user, this image is failing to run.

Is there an alternative?

@repeatedly
Copy link
Member

Hmm... maybe, asking it on OpenShift community is better.

@rmacian
Copy link

rmacian commented Mar 6, 2018

I am on the same boat, the problem lays here:

https://github.com/fluent/fluentd-docker-image/blob/master/v0.14/alpine/entrypoint.sh

I think this tries to keep the UID to avoid permissions problems but Openshift has guides to allow this

See "Support Arbitrary User IDs" in
https://docs.openshift.org/latest/creating_images/guidelines.html#openshift-origin-specific-guidelines

@repeatedly
Copy link
Member

Fluetnd has FLUENTD_UID env to specify uid at runtime.
Openshift can't use this mechanizm to adjust uid?

Copy link

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 7 days

@github-actions github-actions bot added the stale Inactive and will be closed automatically label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive and will be closed automatically
Projects
None yet
Development

No branches or pull requests

3 participants