As per comments, Raspbian/RpiOS by intention runs on all available models of Pi.
the firmware might need updating. How is this done?
Firmware is distributed as part of the OS, stored in the boot partition and a directory in /lib; the former is applied by the bootloader/boot process of the SoC and the latter the kernel. Updates are maintained like the ...
In the end, I took the following steps to solve the problem, based on the answers by myka and Dmitry Grigoryev:
Set up a virtual machine with the 32-bit desktop version of Ubuntu 16.04 (which at the time of writing is one of two OS versions the Pi-Gen maintainers declare as supporting the Pi-Gen).
Install the docker.io package in addition to the ...
You can do this using image-util. image-util may also give you a smaller .img file, and run more quickly. Additionally, if you need to make changes to the original .img file, you may do so without creating a new image - you may simply "update" the existing image.
read the documentation in the forum
As an alternative to the ...
I guess you may need something like backup for your image that you can install later.
If you want to try a backup, first find out what is your SD driver:
Assume it is in /dev/sdb1 & /dev/sdb2 . Then use the following command to make backup
sudo dd if=/dev/sdb of=/path/to/backup/location bs=4M
To reinstall this backup again the same dd command ...