I have a RPi Zero W (model 1 from 2017) running raspberry pi OS lite. I like using docker for deploying stuff and the easiest way I found to setup docker for use on an underpowered machine likes this was via:

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

This script does literally all the work for you. It figures out you distribution and your CPU architecture to get docker up and running for you regardless of what you have.

This is a life saver, since trying to get the right version of docker for an arm32 chip is tedious.


That being said, is docker a good idea on this machine? Probably not. Its underpowered as is and docker has a non-negligible footprint on it.

Podman as an alternative might be cool, but I wasn’t able to get it to work properly for my usage.


Tips & Tricks

  • Disable swap to increase life-time of SD card: sudo swapoff -a.