yum update -y
#
yum install epel-release -y
#
yum install -y yum-utils -y
#
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
#
yum makecache fast
#
yum install docker-ce -y
#
systemctl start docker
#
systemctl enable docker