PS:
For 4.) you may have to install a more recent version of container-selinx before installing Docker
You can go to: http://mirror.centos.org/centos/7/extras/x86_64/Packages/ and find the latest install for your distribution which in my case was: container-selinux-2.95-2.el7_6.noarch.rpm
or the complete path:
http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.95-2.el7_6.noarch.rpm
6.) Run the command: docker --version
7.) Start the Docker service by running the command: sudo systemctl start docker
8.) To see if if your docker installation was successful run the command: sudo docker run hello-world If your installation was successful and you followed all the above steps you should get something that looks like the output below: