Got docker working on raspberry pi 1B

Tried installing docker on raspberry pi 1B on two different raspbeeries, both with dietpi stretch and dietpi buster.

docker always fails to start.

After a lot of googling found a way to make it work

sudo apt-get purge docker-ce
sudo apt autoremove
sudo rm -rf /var/lib/docker
sudo rm -rf /etc/docker /etc/systemd/system/docker*
sudo apt-get install docker-ce=18.06.1~ce~3-0~raspbian

(docker on a raspberry 2B works fine with the default dietpi installation)

Btw finally a containerd package has arrived that works well with RPi1+Zero OOTB. So no need for any workaround anymore: