赞
踩
lsb_release -a
yum -y update
yum remove -y docker*
cd /etc/yum.repos.d/
rm -rf *.repo
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
yum install -y yum-utils
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache
yum list docker-ce --showduplicates | sort -r
yum install -y docker-ce-3:20.10.9-3.el8.x86_64
systemctl start docker
systemctl enable docker
docker version
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。