Hey @Dishant, follow these steps to install and set Docker on CentOS:
Update repositories
sudo yum check-update
Add docker official repo
curl -fsSL https://get.docker.com/ | sh
Install Docker
yum install docker
Start docker and check the status
sudo systemctl start docker
sudo systemctl status docker
sudo systemctl enable docker