docker buildx
SafeMulti-arch builds
docker buildx build --platform linux/amd64,linux/arm64 -t <tag> .
Builds for multiple architectures at once — essential when building x86 images on Apple Silicon. --push publishes the manifest.
Examples
docker buildx build --platform linux/amd64 -t app:1.0 --load .x86 image from an ARM Mac
Syntax
docker buildx build [--platform list] [-t tag] [--push] .
Before you run it
Build only.
Related commands
- docker buildBuild an image
- docker pushPush to a registry
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store