Install Docker Raspberry

I’m currently working on a fun side project involving 5 Raspberry Pis and an arduino (a stupidly long post about that coming in the future, fear not) and I’ve run into an issue on both my Raspberry Pi 2 and my Raspberry Pi Zero W when trying to get docker working.

Re: Install Docker on Raspberry Pi OS 64 bit. Sat Oct 02, 2021 6:48 pm. The simplest way of installing docker on a newer Pi (32 or 64 bit) is. Code: Select all. Sudo apt update sudo apt install docker.io. It may not be the very latest version, but it works. Unreadable squiggle. To generate this message Docker took the following steps: 1. The Docker client contacted the Docker daemon. The Docker daemon pulled the 'hello-world' image from the Docker Hub. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.

What’s the problem?

Well, I am no expert on these things, but essentially the Pi 2 and the Zero run an older processor, ARM6 types to be precise. The issue when you try to install docker using their excellent one liner, it barfs right at the end with a failure…. this seems to be caused by one of the packages that docker requires (containerd.io) not liking these older arm processors… but it used to run fine.

What’s the solution?

Pretty simple.. use an older version of containerd.

How do I do that?

Glad you asked. Pretty simple. (Assuming you have your pi setup correctly with buster, and all the packages up to date)

Install

To start, run the basic docker install script

This will spit out an error at the end. Fear not.

Huge shout out to github user michalng for the solution he helped me out with here.

Basically, you need to go back, overwrite the containerd install with an updated (yet older) version. (I’ve added in the sudos as that’s the way I need to run this on my fairly vanilla pi install)

And one last step… don’t forget to add your current user (in my instance “pi”) into the docker group, so you don’t’ need to sudo everything

Now, restart your pi so all these changes can take effect

… and once it boots back up, you should be able to run docker normally, try it out with

One final note here…. I usually test docker with hello-world

For whatever reason, this image doesn’t work on ARM6 pis.. I haven’t dug into it much, as the image I needed worked fine. But be aware if you try to run that and it barfs (or as in my case, just exits with no output) don’t worry, other images should work fine.

Hello Friends,
Install docker raspberry pi busterInstallI’m fairly new to Raspberry Pi and completely new to Docker.
I’m not a software developer, which means I’m, unfortunately, unfamiliar with many relevant aspects of linux some of you are already aware of. I’m hoping a few of you could help me with a question.
InstallI’m using a Raspberry Pi 4 4GB running with Raspberry Pi OS 64 bit.
I would like to install Docker on this system, but I could not find a document explaining if I need to use a special curl command for 64bit Raspberry Pi OS.

Install Docker Windows

Is the curl command different between 32bit and 64bit OS?Install docker raspberry pi

Install Docker On Ubuntu


This is the curl command I’m aware of to install docker on Raspberry Pi:

Install Docker Raspberry Pi 4

Hope someone can help