setup-qemu-action icon indicating copy to clipboard operation
setup-qemu-action copied to clipboard

Purpose of this action?

Open kroese opened this issue 2 years ago • 2 comments

Description

In all examples I always see this action used like this:

      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v3
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3

But if I omit this action, and just use:

      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3

I can still build ARM64 images using QEMU via Buildx.

So what is the exact purpose of this action? Was it something that was needed in the past and now has become obsolete?

kroese avatar Nov 29 '23 00:11 kroese

Also curious to see an answer here 🙏

boc-the-git avatar Feb 11 '24 10:02 boc-the-git

If you need to build an image for a platform that is not supported by buildkit, you can configure QEMU and virtualize it. https://github.com/docker/buildx#building-multi-platform-images

Supported virtual platforms: https://wiki.qemu.org/Documentation/Platforms

ShogoDB avatar Mar 15 '24 02:03 ShogoDB