-
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
Our images now fail to run with OCI error #1024
Comments
I have similar problems, but they already occur when performing a The build seems to go fine without any errors, but when pulling the image, I get random errors related to missing files, what the error exactly details depends on the image. For now, I have gone back to debug-v0.16.0 which builds the same images fine... No errors when pulling or running. |
We get a different error and cannot build the image in Google Cloud Build |
@liemdo are you mounting |
Indeed fix for us was force 0.16 on pipeline. Only a dozen microservices affected. |
@webmutation Unfortunately i am not able to reproduce your error. Would it be possible for you to give us |
@liemdo That error should be fixed by v0.17.1 release due to #1025 |
@RemcodM Sorry to hear about that. Were your issues related to files in |
@tejal29 I will update the pipeline to 0.17.1 and see if the problem is related and solved by the patch. EDIT: Same issue still, this only happens with FROM openjdk:8-jre-alpine not sure why. For the time being we are stuck on 0.16. |
#1028 for this one I think |
Bad image creation with OCI error continues with v0.17.1. |
I suspect this is related to #1039 |
We've committed a change which I believe will fix this. If anyone feels like testing tags a1af057 and debug-a1af057f997316bfb1c4d2d82719d78481a02a79 have the new code |
experiencing the same |
only reverting to 0.15.0 lets me actually get working images |
@webmutation i verfied your Dockerfile on latest master build
I ran the following command
I docker ran the new image
and as expected it complains no main in manifest. `` |
Temporary fix for CI. Correspondent Kaniko issue: GoogleContainerTools/kaniko#1024
This is still happening even post 1.0, we've been stuck at 0.16 for while now |
We're seeing something similar trying to use kaniko to build docker images as part of a gitlab-runner pipeline: root@dev:~# docker --version
Docker version 20.10.0, build 7287ab3
root@dev:~# gitlab-runner --version
Version: 12.9.0
Git revision: 4c96e5ad
Git branch: 12-9-stable
GO version: go1.13.8
Built: 2020-03-20T13:01:56+0000
OS/Arch: linux/amd64 This is a fragment from our gitlab-ci.yml:
For some reason, using |
From https://github.com/GoogleContainerTools/kaniko#debug-image
You need to use a |
Actual behavior
The new images return Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/usr/bin/java": stat /usr/bin/java: no such file or directory": unknown
Expected behavior
Previously it run without issue. No OCI runtime
To Reproduce
Additional Information
The text was updated successfully, but these errors were encountered: