Installing Docker on Raspberry Pi 4

TLDR;

Sipke Schoorstra
1 min readNov 27, 2019

To install Docker, run the following two commands on your PI (either directly or via SSH):

sudo apt update -y
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

This is going to be a really short post, and serves more as a “note to self” than anything else.

Last week I finally allowed myself to purchase a Raspberry Pi 4, with the intent to build an IoT application with .NET Core 3.0 and drive some peripherals.

Before getting started, I wanted to prepare the Pi with Docker, so I can build and deploy my application as a container. Because that’s the cool thing to do, right?

Well, turns out that was easier said than done. I spent an entire weekend pulling out teeth and hair, to no avail.

But today my friends, I found the right combination of words to enter into Google, which allowed me to find the following Youtube video:

I skipped the intro and jumped straight to minute 2:50 to see the magic lines that would deliver me from madness:

curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

But that didn’t work right away. I first had to update my system:

sudo apt update -y

That was it!

--

--