-
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 executor image fails to start (unknown command true for executor) #807
Comments
Yes |
I do not explicitly set the cache flag, because kaniko is triggered by GCP's cloud build, but according to the documentation the option that I set with So, yes, the problem is seen when I use the cache flag. |
I'm running into the same issue. It was still working well yesterday at 2pm PST. I'm using |
I'm using a cloudbuild.yaml and running into the same issue. As a quickfix I'm using EDIT: only |
I have the same issue, kaniko is enabled with |
We are working on a fix for this issue. As a potential work around you can try using v0.12.0 image of kaniko |
Downgrading to kaniko v0.12.0 with |
Indeed, both |
thank you for this thread too much. I have the same issues, use v.0.12.0, works |
I tried v0.12.0, it CAN WORK, but there are a lot warning message even I didn't change any byte, build again, it still builds from the base image, the cache doesn't work. hope I can get the latest version work. |
You can ignore those "Error while retrieving image from cache: getting file info" messages, they're a red herring. They're caused by Kaniko searching a local /cache directory before checking your container registry. One way you can tell whether a cache is being created by Kaniko is looking for a "cache" directory next to the images it pushes to your container registry. |
This issue is fixed in v272.0.0 of the gcloud sdk (released on 2019-11-19) I've verified that it works with kaniko versions v0.13.0 and v0.14.0 |
Thank you! Switched to latest kaniko version, using up to date gcloud, no issue. |
Just received this error i have checked all above details and all correct Kaniko version, sdk all latest. any thoughts how i can resolve this |
I am still having this issue, what is the solution? I'm following the official documentation: https://cloud.google.com/build/docs/kaniko-cache |
Actual behavior
The Kaniko executor image fails to start.
gcloud build submit
fails with the following error message:Expected behavior
Image is built using kaniko
To Reproduce
submit a build with a minimal dockerfile, e.g. with
FROM python:3.7
Additional Information
See above. A minimal file causes the error.
Only the dockerfile
gcr.io/kaniko-project/executor:latest
Digest: sha256:fb27a2ca60b0943d124100abb66e937bfcf81821d2c79eb7813b7e74637958d0
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: