Project

General

Profile

Support #902

Updated by Daniel Curtis almost 7 years ago

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: 
 <pre> 
 curl -L http://archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz -o ArchLinuxARM-rpi-2-latest.tar.gz 
 </pre> 

 * Unzip the tarball, do not untar it: 
 <pre> 
 gunzip ArchLinuxARM-rpi-2-latest.tar.gz 
 </pre> 

 * Import the Arch Linux ARM tarball as the armv7/armhf-archlinux image: 
 <pre> 
 sudo docker import ArchLinuxARM-rpi-2-latest.tar armv7/armhf-archlinux 
 </pre> 

 h2. 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

Back