Use Raspberry PI Imager v1.4 to download and install the right image on a SD card.
For details please refer to following link: https://docs.docker.com/engine/install/ubuntu/
Execute following commands:
sudo apt-get install python3-pip
sudo pip3 install docker-compose
You will need a shared folder between your development system (e.g. Windows) and the Rasperry PI OS to be able to exchange files (docker-compose.yaml) between them.
For details see following link: https://www.thomas-krenn.com/de/wiki/Einfache_Samba_Freigabe_unter_Debian
docker pull portainer/portainer-ce
Start the portainer container with following settings:
docker volume create portainer_data
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
After starting the service, you have a graphical UI for maintain docker. Goto url http://{ip address}:9000/.
To test and learn how to use the MongoDB with C# refer following git repository: https://github.com/histechup/guestlist-manager-cli-csharp
My implementation could be found here: https://github.com/atillakati/guest-list-manager