Skip to content
Latchkey

Docker buildx "multiple platforms feature is currently not supported" in CI

You asked buildx to build multiple platforms with the default docker driver, which cannot do it. multiple platforms feature is currently not supported for docker driver means you need the docker-container (or another) driver for multi-arch builds.

What this error means

A docker buildx build --platform linux/amd64,linux/arm64 . fails with multiple platforms feature is currently not supported for docker driver. Please switch to a different driver.

docker
ERROR: multiple platforms feature is currently not supported for docker driver.
Please switch to a different driver (eg. "docker buildx create --use")

Common causes

The active builder uses the docker driver

The default builder backed by the docker driver builds only the host platform. Multi-platform output requires the docker-container driver.

No docker-container builder was created

Without docker buildx create (or setup-buildx-action), buildx stays on the default driver and rejects multi-platform builds.

How to fix it

Create and use a docker-container builder

Switch to the container driver, which supports multi-platform builds.

Terminal
docker buildx create --name ci --driver docker-container --use
docker buildx build --platform linux/amd64,linux/arm64 --push -t myorg/api:1.4.2 .

Let setup-buildx-action provide the builder

In Actions the action gives you a docker-container builder by default.

.github/workflows/build.yml
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
  with:
    platforms: linux/amd64,linux/arm64
    push: true
    tags: ghcr.io/myorg/api:1.4.2

How to prevent it

  • Use the docker-container driver for any multi-platform build.
  • Set up buildx (and QEMU) before multi-arch builds in CI.
  • Push multi-arch results to a registry; do not --load them.

Frequently asked questions

What causes ""multiple platforms feature is currently not supported""?
The default builder backed by the docker driver builds only the host platform. Multi-platform output requires the docker-container driver.
How do I fix "multiple platforms feature is currently not supported"?
Switch to the container driver, which supports multi-platform builds.

Related guides

References

Latchkey auto-heals failures like this one - detected, fixed, and retried without you. Start free → 30-day trial · No credit card