NOOB - installing docker software from scratch, step by step

Hello everyone,

I have tried searching for help on this already but have not yet found exactly what I am looking for.

I will be installing zorin os onto my old Mac mini 2912 very shortly that I use as a mini home server.

Once zorin is installed I am wanting to then install a number of apps as dockers/containers. But I have never used Linux before or dockers so was wondering if either anyone can recommended a step by step guide on how to get a docker setup up and running fully or if not if anyone would be willing to help and guide me along my journey.

Thabks in advance
Noddyrams

You can install Docker on Zorin OS using either the Software Store or the terminal with

sudo apt install docker

If you want the latest version, you will need to add the Docker Repository by adding the GPG key below, then adding Docker to your APT sources. I recommend testing the stable version first and only installing the latest version if it is needed:

sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc

sudo chmod a+r /etc/apt/keyrings/docker.asc

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$UBUNTU_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

I am running 17 pro. Today I find myself trying to use the docker runtime. I created a docker container with backtrader and a mounted volume. Examples seems to be running fine xcept for Python print statements (just no output) . I tried CMD["python", -u, filename but CMD was not found in docker container or he host for that matter. So I narrowed problems down to installing a FULL docker absence (I may be wrong). Is it better to down load the docker-desktop from docker, follow instructions to add a repository (like above), or follow new instructions which don't seem to be publicly available? I admit I am not a linux pro but I will have a jolly good ol stab!! I didn't really want to mess my system I thought docker. Should I be thinking boxes instead? (2 questions). The statements to add the repository dont work in 17 pro.