-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
buildkit build arm image faild when on k8s pods #2329
Comments
os:centos8 x86 |
Looks like you have not posted the logs for failing command (should be reprinted on latest version). Also, if this comes from emulation you might have better luck with installing emulator image from https://github.com/tonistiigi/binfmt |
The fallback in container is not quite the same. It should work in most cases but in-kernel support is still preferred. Would need to see the actual error logs to maybe understand better what caused this. |
11 |
The log that was missing was from your build you only clipped the lines that didn't have the output for the failed command. |
@tonistiigi how do i get the logs for failing command? |
The ones you posted on the first comment. You just didn't post all of them. |
ok, that's not very helpful. Usually the embedded qemu fallback fails when you have a mix of binaries with different architectures in your container. Embedded fallback requires all binaries to be for the target architecture. Binfmt in kernel allows mixing as well. If this doesn't sound likely you can try to modify your make/go fmt command to print more logs about where it is failing. |
No description provided.
The text was updated successfully, but these errors were encountered: