Installing Docker on Raspberry Pi 4


Sipke Schoorstra
Nov 27, 2019 · 1 min read

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

sudo apt update -y
curl -fsSL -o && 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 weeking pulling my hair out, 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 -o && sh

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

sudo apt update -y

That was it!

Sipke Schoorstra

Written by

Software Developer

More From Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade