-
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
Error: failed to get filesystem from image: removing whiteout operation not permitted #1073
Comments
This is most likely the same issues as #1039, can you try tags |
Same thing fails for me with: gcr.io/kaniko-project/executor:debug-v0.17.1 and it's reproducible on all versions of Kaniko (I gave up at 0.10.0). Using this Dockerfile:
I get:
|
@cvgw I juste tried the tags you indicate me but I got the same error
Btw I don't use the cache or the warmup to make sure it's not related to others bugs. |
Can you please share the exact docker command you are using to execute the kaniko build. Thank you |
Verfied on latest master image
and
runs successfully
They both work. |
We have had the same error since about a week. After a lot of trial-and-error debugging we've figured out that the problem (in our case) could be traced to the use of an image that contains a symlink to the stdout/stderr. After removing this symlink image in our base image, we could build new images from this base image again. Is that related to this issue? |
@RubenAtPA Thanks for all the investigation. I will try to reproduce this with symlink to stdout/err and track the progress here. #1147 |
@tejal29
Dockerfile:
Environment: Works from local developer machine with |
Same for me. Dockerfile:
Getting:
|
Any news on this @tejal29 ? Look like there is something broken/magic/different in these public images. |
Tested today with debug-edge image - works. |
Tested today with debug (and debug-edge).
In my case the base image was |
confirmed for |
This still fails for us:
When using
Is there a workaround for this issue? Perhaps reopen this ticket? |
@krishofmans Can you please provide some more logs. This issue was related to symlinks not being removed. |
Of course @tejal29, the only thing that changed was the parent image and it broke ...
|
For anyone having this issue (removing whiteout ... operation not permitted ). It appears to be an issue with older version of docker running the |
I just ran into this also and I can confirm that the solution from @sschueller worked for me. Here's the relevant information from the original
After the upgrade everything works as expected. Here's the upgraded docker information.
Also note that |
Actual behavior
When using kaniko via Jenkins in a k8s cluster to build an image which contain whiteout file, got this error.
Expected behavior
Expect no error
Note:
Reproducing the bug in a local docker install give no error
I have tried with version 0.9.0 which works and 1.16.0 which don't work but no other version beetween.
To Reproduce
Steps to reproduce the behavior:
FROM nginxinc/nginx-unprivileged:stable-alpine
Additional Information
Build Context
None
Kaniko Image (fully qualified with digest)
debug-1.17.1
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: