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

Issue with default user in Dockerfile #8

Open
frlan opened this issue Dec 11, 2024 · 2 comments
Open

Issue with default user in Dockerfile #8

frlan opened this issue Dec 11, 2024 · 2 comments

Comments

@frlan
Copy link

frlan commented Dec 11, 2024

We are getting feedback by our provider, that the docker container cannot be started:

 message: 'container has runAsNonRoot and image has non-numeric user (admin),
          cannot verify user is non-root (pod: "xxx",
          container: container)'
        reason: CreateContainerConfigError

I think this can be solved, if we replace the user inside Dockerfile from admin to some UID – maybe defaulting to 1000 which is the one non-root-user on a classical Linux system

@michaelmcandrew
Copy link
Collaborator

@frlan - I've updated the USER reference in the Dockerfile to 1000 since I'm fairly sure that it won't have any other side effects.

New images are being published now and should be available shortly.

I hope this solves your problem.

@frlan
Copy link
Author

frlan commented Dec 12, 2024

Thank you very much. I will try it out later today 👍

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