[OFFICIAL] Alpine Image for ARMHF (PI, PI2, etc) - 5MB Image
443
docker run -it --rm=true ventz/armhf-alpine /bin/sh
I've noticed that a few people have created these, but no one tells you HOW they did it. And after all, are you really going to run some random person's "trust-me-I-am-not-evil" image?
So, here's how to build one yourself:
Boot into an ARM OS with Docker OS (ex: Hypriot would be the best, or Raspbian with Hypriot's package, or your own)
Pull the OFFICIAL "mkimage-alpine.sh" from Docker's GITHUB:
wget https://raw.githubusercontent.com/docker/docker/master/contrib/mkimage-alpine.sh
export ARCH=armhf; ./mkimage-alpine.sh -s
xz -d rootfs.tar.xz
mkdir container
mv rootfs.tar container/.
cd container
FROM scratch
ADD rootfs.tar /
CMD ["/bin/sh"]
docker build --force-rm=true --no-cache=true --rm=true -t 'dockerhubusername/armhf-alpine' .
That's it. Now you can TRUST OR build your own! :)
Content type
Image
Digest
Size
2.7 MB
Last updated
over 10 years ago
docker pull ventz/armhf-alpine