While you can find articles and vast amounts of tutorials on how to install Docker. This is another one of those for my own purpose, if you find it helps you that's great and have yourself a good day. Most things here will be straight lifted from Docker's guide to install Docker on Ubuntu > Here
Let's start basically copy pasting the commands into terminal on Ubuntu 22.04.
The next command installs the Docker on to your machine.
Now verify that Docker installed correctly.
Now let's make sure that Docker starts with the system after reboot.
With that out of the way you should now have Docker installed and ready for containerizations.