macos – docker run –platform linux/i386 busybox:latest fails to launch and has no logs on Macbook Docker Desktop

I’m having trouble running non-arm platforms in Docker on my arm64 Macbook Pro. For example, busybox: among the many archs it’s compiled for is linux/i386:

ip-192-168-1-38:ops michaelmartinez$ docker buildx imagetools inspect busybox:latest
Name: docker.io/library/busybox:latest
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest: sha256:ef320ff10026a50cf5f0213d35537ce0041ac1d96e9b7800bafd8bc9eff6c693
Manifests:
Name:
Name: docker.io/library/busybox:latest@sha256:2a3377f11def798278d28a22394409778996ac9ac1533c3df3656c9123ed9cd7
MediaType: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/386

Which means I should be able to run it on my Macbook Pro M1 (arm64) as follows:

ip-192-168-1-38:ops michaelmartinez$ docker run –platform linux/i386 docker.io/library/busybox:latest@sha256:2a3377f11def798278d28a22394409778996ac9ac1533c3df3656c9123ed9cd7

However, nothing happens. No container is launched and there are no logs anywhere.

ip-192-168-1-38:ops michaelmartinez$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ip-192-168-1-38:ops michaelmartinez$ docker container list
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ip-192-168-1-38:ops michaelmartinez

Looking at the Docker Desktop GUI shows a failed container. Again, without any logs.

Is there something I’m missing or is it simply not possible to run a non-arm version of busybox on the Macbook?

Read more here: Source link