-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Failed to get filesystem from image: chown /etc/gshadow: operation not permitted #1200
Comments
Having the same problem with GitLab Kubernetes runner |
@danielhass Yes, we have a restricted PSP. Currently in contact with our internal administration to activate some linux capabilities (see #778) at the PSP. |
@danielhass Yes we have restricted PSP, the spec is here: |
Our administration team added the capabilities Docs: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#capabilities |
Thanks @kwinkel got confirming this! |
Actual behavior
I use Kaniko: "gcr.io/kaniko-project/executor:debug-v0.19.0"
and GitLab Kubernetes Runner to build my Docker image and send it to AWS ECR.
During executing of such Dockerfile:
I get such log with error:
Expected behavior
Previously I ran such build using GitLab Docker runner and it worked. Also after this problem I started my own GitLab docker runner and got such successful log:
To Reproduce
Steps to reproduce the behavior:
Additional Information
GitLab build:
Is it known problem with Kaniko and GitLab Kubernetes Runner?
The text was updated successfully, but these errors were encountered: