I would go one further and recommend installing Portainer too. Install Docker, then find the code to install Portainer. Then you can log in to Portainer and use that to manage Docker.
I've tried to use Docker for a number of years (and succeeded!) but have recently used Portainer and found it so much easier.
I now install the Portainer client on every instance of Docker that I use and track them all through a single IP address on my lan.
I had read about Docker Compose but never followed it up. But now with Portainer I've come to realise that "Compose" is "Stacks" in Portainer. So now I can just open up my Portainer and copy/paste a compose into a stack and save it, and it fires up the programme for me.
If I want to replicate that program somewhere else I can either copy/paste my stack, or use the "replicate" function to just add it to another machine.