-
Notifications
You must be signed in to change notification settings - Fork 493
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
failed to load LLB: runtime execution on platform linux/arm64 not supported #138
Comments
I am running this on Ubuntu 18.04 and following https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/getting-started-with-docker-for-arm-on-linux
|
you need to install qemu-user #132 (comment) |
Thanks @tonistiigi . It seems that I had already installed it but still getting this error.
|
I had a mybuilder that was not working.
I rm-rf the old builder and then created a new one and things are working now.
So, the problem was the old builder did not have arm64. I don't know why. Thanks @carlosedp helping me get this working. |
You need to restart or recreate the builder for it to pick up new qemu support. |
Hi, have the same problem, am working with rhel7 and runed'install qemu-user', but when run 'buildx ls', it show only 'running linux/amd64, linux/386', and it don't show 'linux/amd64, linux/arm64...'. What can I have do, please? |
Delete the old builder and create a new builder.
…On Fri, Aug 30, 2019, 5:50 PM Evandro Nascimento ***@***.***> wrote:
Hi, have the same problem, am working with rhel7 and runed'install
qemu-user', but when run 'buildx ls', it show only 'running linux/amd64,
linux/386', and it don't show 'linux/amd64, linux/arm64...'. What can I
have do, please?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=AAAXEXQ6LNPMVBR3CWTPPITQHGIZRA5CNFSM4IOX6CDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5S3WEQ#issuecomment-526760722>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAXEXUA4XDHSWIJAAVWAT3QHGIZRANCNFSM4IOX6CDA>
.
|
Sorry, i am begin work with this now, how can I delete the old builder e create the new? |
docker buildx rm $name
…On Fri, Aug 30, 2019, 6:01 PM Evandro Nascimento ***@***.***> wrote:
Sorry, i am begin work with this now, how can I delete the old builder e
create the new?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=AAAXEXXBHO7V6CKOYWET4ETQHGKB5A5CNFSM4IOX6CDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5S4H7Q#issuecomment-526763006>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAXEXVCIFVMMDFR7UJOJQLQHGKB5ANCNFSM4IOX6CDA>
.
|
ok, thanks a lot! I will do this. |
I see I need to read a little more about it, but I'm having a little trouble finding something about using this buildx technology ... I'd like to create a raspbian / arm docker image in my rhel7 environment, but I'm with some difficulty. Could you please pass some link with material that could help me. I'll be very grateful. Thank you! |
… On Fri, Aug 30, 2019, 6:16 PM Evandro Nascimento ***@***.***> wrote:
I see I need to read a little more about it, but I'm having a little
trouble finding something about using this buildx technology ... I'd like
to create a raspbian / arm docker image in my rhel7 environment, but I'm
with some difficulty. Could you please pass some link with material that
could help me. I'll be very grateful. Thank you!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=AAAXEXUR2QUOVCY5L5RH2VLQHGL2NA5CNFSM4IOX6CDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5S473I#issuecomment-526766061>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAXEXRPOKJRIJ4I7EP7JATQHGL2NANCNFSM4IOX6CDA>
.
|
It worked for me after installing qemu-user and running the getting started tutorial at multiarch/qemu-user-static |
I found that on my work image, I have to constantly re-run the multiarch/qemu-user-static process after each boot. It's a simple enough workaround for us anyway. |
For me running
solved the problem. |
Sorry to bug anyone, but I'm having the same issue. I've been trying to get this to work for a while now but can't seem to do it. I run the following, and yet my buildx builder doesn't have the new platforms supported, and the build gets that same error. The base image I'm trying to build is ubuntu:18.04 and I'm running on GitlabCI shared infrastructure (docker:stable image, dind service running, privileged containers enabled).
Full Build Logs: https://gitlab.com/moos-ivp/moosdocker/-/jobs/396347211 Thank you! |
@HeroCC: try Note that |
As suggested by someone on the QEmu-user-static Github page: docker/buildx#138 (comment)
If you are using buildx with a Docker In Docker instance, you must be sure that the buildx instance created and the configuration of usage is made from the specific user of the runner. Check it with the |
@Silex, I tried
I guess that the problem comes from the fact that I have
|
Gotcha, thanks! That'll never work with a |
Signed-off-by: Sandor Szücs <[email protected]>
Thanks it's works for me on azure pipelines:
|
|
Unfortunately the requirement to run |
thank you very much |
I recommend to move to PodMan. |
We started using the new docker buildx to build arm64 images. But it is not working with debian base image.
Here is the docker file:
I am getting anything with google search for
failed to solve with frontend dockerfile.v0: failed to load LLB: runtime execution on platform linux/arm64 not supported
.On the same machine, the following arm64 image is building ok.
Any help is appreciated.
The text was updated successfully, but these errors were encountered: