yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
setenforce 0
查看版本
yum list docker-ce --showduplicates|sort -r
yum -y install docker-ce-19.03.9 docker-ce-cli-19.03.9