Project

General

Profile

Support #902

Build a Raspberry Pi Arch Linux Docker Image

Added by Daniel Curtis over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Jails / Containers
Target version:
Start date:
06/28/2017
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

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

#1

Updated by Daniel Curtis over 7 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis about 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF