Skip to content

[enhancement]: update doc on how to build for different architectures #22112

@escherstair

Description

@escherstair

Task name

Docker@2

Describe your feature request here

Here I can see official doc describing how to build images for other architectures, using QEMU.
This is suggested in the following way

# register QEMU binary - this can be done by running the following image
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# build your image

But multiarch/qemu-user-static image is quite old and no more updated.

Looking to docker official doc, a different image is suggested for the same purpose

docker run --privileged --rm tonistiigi/binfmt --install all

I tested it and it's a drop-in replacement, with much better performances.

I suggest MS to update the doc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions