There is really not much you should be doing with docker - it is an incredibly powerful tool that lets you run various apps and softwares locally with almost zero setup. You can replicate complete evironments, and make it easy to create environments that are easy to port to other machines.
But here, in the scope of this cheatsheet you will only use ONE command regularly, and a few others as a one time setup.
Once you are done with the setup locally, you will have to login to the repository you use - it can be Dockerhub, or it can be Digital Ocean's repo, or any other registry - and then you can publish the latest app version.
Ask chatgpt: "Hey, I am on MacOS/Windows, I have docker installed, and i want to run the following commands >copy docker command from below<, but I need to login first, how do I do that? Guide me through in small steps." This is a one time setup. (You will have to do that once in every few months or so.)