Open conradwt opened 4 months ago
On BuildKit v0.13.2 using macOS 14.5 (Sonoma) Apple Silicon, I’m seeing the following:
linux/arm64,
linux/amd64,
linux/amd64/v2,
linux/riscv64,
linux/ppc64le,
linux/s390x,
linux/mips64le,
linux/mips64
Note: I don't understand why the following are not included in the above:
linux/386,
linux/arm/v7,
linux/arm/v6
On BuildKit v0.12.5 using macOS 14.5 (Sonoma) Apple Silicon, I’m seeing the following:
linux/arm64,
linux/amd64,
linux/amd64/v2,
linux/riscv64,
linux/ppc64le,
linux/s390x,
linux/386,
linux/mips64le,
linux/mips64,
linux/arm/v7,
linux/arm/v6
On BuildKit v0.11.6 using macOS 11.7.10 (Big Sur) Intel, I’m seeing the following platform list:
linux/amd64,
linux/amd64/v2,
linux/amd64/v3,
linux/arm64,
linux/riscv64,
linux/ppc64le,
linux/s390x,
linux/386,
linux/mips64le,
linux/mips64,
linux/arm/v7,
linux/arm/v6
I think the arm variants don't require emulation. Not 100% sure on the 386 one.
Curious though why you're installing the binfmt
binaries on Docker Desktop; on Docker Desktop these are already installed, so no manual setup should be needed; was there a specific issue you're trying to address?
@thaJeztah Yes, the linux/arm64 don't require emulation because Apple SIlicon is using the arm64 instruction set. However, linux/arm/v6 and linux/arm/v7 are 32-bit architectures. Also, linux/386
is a 32-bit architecture.
I'm wondering, why is the builders linux/386, linux/arm/v7, and linux/arm/v6 are not listed for docker buildx ls
?
Description
When I install the buildx platforms using
docker run --privileged --rm tonistiigi/binfmt --install all
, I'm presented with the following output:However, when I list the platforms, I'm not seeing all of the supported platforms:
Finally, the following does complete with success:
Reproduce
Expected behavior
I would expect the list of supported platforms to be in the output from
docker buildx ls
.docker version
docker info
Diagnostics ID
F81BD35A-F90B-4B0E-A1A5-31E04EEF181F/20240525084643
Additional Info
N/A