Install docker in Ubuntu operating system using single command

sudo apt install docker.io

Install docker in Ubuntu operating system using Docker official steps

Install docker in Centos operating system using Docker official steps