-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Kaniko without root user and priviliged container #1930
Comments
What specific errors are you seeing, and what are you trying to do? |
permission denied to chown "/" |
I have the same issue as @popi2 on Openshift 3.11. The following pod spec snippet is not allowed:
When running in a Jenkins pipeline I get this Jenkins console output:
If I don't explicitly set securityContext I have trouble building a container image because chown is not allowed:
|
I'll supply with that fact that our image with kaniko is the same as https://github.com/ContainerSolutions/dockerfiles/tree/master/kaniko-openshift from #379 (comment) |
That fix did not solve the problem for me. I am running this in OpenShift OKD v4, and got the same |
actually it's not work. |
Hello,
I'm having a hard time running kaniko on openshift with as non root and non privileged.
In addition, Openshift blocks kaniko from doing chown to '/'.
thanks,
Guy
The text was updated successfully, but these errors were encountered: