-
Notifications
You must be signed in to change notification settings - Fork 173
Kaniko build: error removing lib to make way for new symlink #564
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
Comments
Hi @mariovor, thanks for giving Sysbox a shot and for filing the issue. On a quick look, it seems Kaniko (running inside the Sysbox container) is failing as it's trying to remove file Sysbox does this implicit mount because several programs that typically run inside Sysbox containers use the files under One work-around (if you are open to it) would be to explicitly mount a dummy Docker volume over the container's
This way, inside the container the directory However, this will not work in Kaniko in fact expects the container's I don't recommend mounting the host's Hope that makes sense. |
Thanks @ctalledo for the analysis. We are seeing this error in our GitLab Runners which we swiched some time ago to Sysbox. |
I was surprised too, but that's clearly what it's doing (apparently is trying to replace the file with a symlink):
( Let me know what you find out @mariovor. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Environment: AWS; Ubuntu 22.04
Shifts:
Sysbox:
Dockerfile:
Steps to reproduce:
Start container:
Run Kaniko
Error
Running with default runtime works.
Let me know if you need more information.
The text was updated successfully, but these errors were encountered: