Support #902
Build a Raspberry Pi Arch Linux Docker Image
Status:
Closed
Priority:
Normal
Assignee:
Category:
Jails / Containers
Target version:
Description
I tried to pull the armv7/armhf-archlinux docker image, however I received an error stating I had an "invalid tar header". I noticed that the command used to generate the docker image was for the Freescale Utilite, not the Raspberry Pi. Luckily generating the proper docker image isn't difficult. This is the process I used to create my Raspberry Pi Arch Linux ARM docker image. This is also helpful if you want to have aarch64 containers with the Raspberry Pi 3 image.
- Download the latest Arch Linux ARM build for the Raspberry Pi 2:
curl -L http://archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz -o ArchLinuxARM-rpi-2-latest.tar.gz
- Unzip the tarball, do not untar it:
gunzip ArchLinuxARM-rpi-2-latest.tar.gz
- Import the Arch Linux ARM tarball as the armv7/armhf-archlinux image:
sudo docker import ArchLinuxARM-rpi-2-latest.tar armv7/armhf-archlinux
Resources¶
- https://hub.docker.com/r/armv7/armhf-archlinux/
- https://github.com/umiddelb/armhf/wiki/Installing,-running,-using-docker-on-armhf-(ARMv7)-devices
- https://archlinuxarm.org/platforms/armv7/freescale/utilite
- https://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2
- https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
Updated by Daniel Curtis over 7 years ago
- Description updated (diff)
- Status changed from New to Resolved
- % Done changed from 0 to 100