-
Notifications
You must be signed in to change notification settings - Fork 495
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
docker buildx inspect mybuilder --bootstrap doesn't have other platforms #208
Comments
@tonistiigi need your help |
Either there was something wrong with installing qemu-user or you didn't restart/recreate the builder instance after reinstalling. Try something like |
I'm pretty sure that
does not register the qemu interpreters with Since your kernel is new enough (>4.8) you could reregister your qemu interpreters with binfmt_misc by hand. One option for that is running
which reregisters all the image's qemu interpreters on the host kernel with the --fix-binary flag. The host doesn't actually need the qemu-user-static package installed at all in this case. Note though that you'll need to do this after every reboot since it doesn't stick. If you have the choice, the easiest solution would be to install a newer version of the OS (e.g. 19.04 should work), or at least install a newer version of binfmt-support (>= 2.1.7) and then reinstall qemu-user-static. |
To expand on my previous answer, and for reference for future users finding this thread while searching for answers to get buildx to work for them, I've written up a post detailing the constraints in the Linux environment that have to be met in order to get multi-architecture buildx to work. |
@ArturKlauser - awesome post, thank you for that. Hopefully this isn't too far off the subject of this issue, but while I've got the "basic" set of other platforms available in my builder:
I'm not seeing the others I've got installed, such as e.g. "vanilla" ppc, which seems to be registered correctly:
I've tried restarting docker and creating a new builder but they aren't showing up. What have I done wrong? Edit: |
@qlyoung - The list of platforms you see in your builder is the intersection of the platforms for which you have installed QEMU support, and the list of platforms that buildx supports. I think the list you gave
includes almost all platforms supported by buildx. The only ones that seem missing are
|
docker buildx inspect mybuilder --bootstrap doesn't have other platforms.
Why there's no Platforms like linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6?
here's snapshot:
Thanks for any help in advance!
The text was updated successfully, but these errors were encountered: