Just follow below steps


% sudo yum check-update
.
.
.
% sudo yum install docker
.
.
.
% sudo systemctl start docker
.
.
.
% sudo systemctl enable docker


You can check if your docker daemon is working correctly by following command line:

% sudo systemctl status docker0

Following link provides pretty good information on Centos

https://phoenixnap.com/kb/how-to-install-docker-centos-7

  • No labels