Docker on the Raspberry

A few month ago, only a few Docker images were able to run on Docker. Usuablly you got an Image error, because the Image was for Intel based CPUs and not for ARM. Now, more and more Docker Images are also available for ARM based CPUs. So let's try that stuff out.

You need:

  • A Raspberry (in this case I use the latest PI 3)
  • A SD card with at least 8 GB RAM (I use 16 GB because I want to load several images on my PI)
  • Raspian (or you use a Hypriot Docker Image with built-in Docker Engine)

Installation - Rasbian

Flash the Image

To download the latest version of Raspbian just visit https://www.raspberrypi.org/downloads/. The image of the desktop version is around 1.6 GB; the Lite image without GUI around 350 MB.

Install and run Docker

Installation - Hypriot Docker Image

Flash the Image

You just have to download the image (around 250 MB) and flash your SD card. TO flash a SD card you can use Etcher (Win, Linux, Mac), which is also recommended by Raspberry.

Install and run Docker

Because the Docker Engine is already built-in, you can just connect to your Raspberry and execute the Docker CLI.