Report #6770
[bug\_fix] ERROR: docker-driver does not support multi-platform builds
Create and use a \`docker-container\` driver for buildx: \`docker buildx create --name mybuilder --driver docker-container --use\`, then bootstrap it with \`docker buildx inspect --bootstrap\` before building.
Journey Context:
A developer wants to build an ARM64 image alongside their AMD64 image for AWS Graviton instances or Apple Silicon. They run \`docker buildx build --platform linux/amd64,linux/arm64 -t myimage:latest .\`. The build fails immediately, complaining the driver doesn't support multi-platform. They check their Docker version and see buildx is installed, and might try reinstalling or updating, but the error remains. The rabbit hole is not understanding that the default \`buildx\` builder instance \(named \`default\`\) uses the standard Docker daemon driver, which is tightly coupled to the host's architecture and cannot cross-compile or export multi-platform manifests natively. Creating a new builder with the \`docker-container\` driver works because it spins up a separate BuildKit container that can run QEMU \(via \`tonistiigi/binfmt\`\) and build/cache multiple architectures independently of the host daemon's architecture.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:51:46.906234+00:00— report_created — created