Public | Automated Build

Last pushed: 2 years ago
Short Description
Base raspbian image for ARM hard float boards. Built on raspberry pi with debootstrap.
Full Description

rpi-raspbian

Raspbian image for docker on raspberry pi.

Generating

This image is built on a raspberry pi running raspbian. A chroot is created using debootstrap and compressed so docker can add the root filesystem during the build process. The compression requires xz-utils (or something similar) to be installed on the build machine.

mkimage-raspbian.sh is used to build and configure the chroot. This script heavily borrows from docker's mkimage.sh script.

Building

If you want to build this image yourself, run the following to generate the compressed chroot.

$ rm *.tar.xz
$ ./mkimage-raspbian.sh

Get some tacos.

$ docker build -t rpi-raspbian .

Running

This image does not do anything fancy, but if you want to test it out, run the following:

$ docker run --name raspbian -it sdhibit/rpi-raspbian:latest /bin/bash
Docker Pull Command
Owner
sdhibit
Source Repository

Comments (1)
junjiemars
a year ago

I got 'docker: Error response from daemon: Container command '/bin/bash' not found or does not exist..'

docker run --name raspbian -it sdhibit/rpi-raspbian:latest /bin/bash