Ali cloud yum update the source, but still prompt: no software packages available docker-ce
Solution:
1. Install the necessary tools
yum install -y yum-utils device-mapper-persistent-data lvm2
2. Add software source information
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3. Update yum source
yum makecache fast
4. Install docker-ce
yum -y install docker-ce
5. Start the docker service and start it automatically
systemctl start docker && systemctl enable docker
Complete ✿✿✿