https://docs.docker.com/engine/install/centos/
yum remove docker*
阿里源:
sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
清华大学源:
sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo
yum install -y docker-ce docker-ce-cli containerd.io
systemctl enable docker --now
地址:https://www.aliyun.com/product/acr?spm=5176.166170.J_8058803260.38.49655164LaWc2J
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.rep/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.