https://github.com/multiarch/alpine
Multiarch Alpine images for Docker.
multiarch/alpine on Docker HubOnce you need to configure binfmt-support on your Docker host. This works locally or remotely (i.e using boot2docker or swarm).
# configure binfmt-support on the Docker host (works locally or remotely, i.e: using boot2docker)
$ docker run --rm --privileged multiarch/qemu-user-static:register --reset
Then you can run an armhf image from your x86_64 Docker host.
# configure binfmt-support on the Docker host (works locally or remotely, i.e: using boot2docker)
$ docker run --rm --privileged multiarch/qemu-user-static:register --reset
Then you can run an armhf image from your x86_64 Docker host.
$ docker run -it --rm multiarch/alpine:armhf-edge /bin/sh
/ # uname -a
Linux a0818570f614 4.1.13-boot2docker #1 SMP Fri Nov 20 19:05:50 UTC 2015 armv7l armv7l armv7l GNU/Linux
Or an x86_64 image from your x86_64 Docker host, directly, without qemu emulation.
$ docker run -it --rm multiarch/alpine:amd64-edge /bin/sh
/ # uname -a
Linux 27fe384370c9 4.1.13-boot2docker #1 SMP Fri Nov 20 19:05:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
It also works for x86
$ docker run -it --rm multiarch/alpine:x86-edge /bin/sh
/ # uname -a
Linux 1ae459268bce 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 Linux
MIT
Content type
Image
Digest
sha256:7a01d02c5…
Size
8.6 MB
Last updated
about 2 years ago
Requires Docker Desktop 4.37.1 or later.