centos 安装指定版本docker
sudo yum remove docker-ce
# 查看可用的社区版
yum list docker-ce --showduplicates | sort -r
# 安装指定版本的docker
yum install docker-ce-20.10.3 docker-ce-cli-20.10.3
#设置docker开机自启动等
systemctl start docker
systemctl enable docker
systemctl status docker
标签:centos,ce,systemctl,yum,版本,docker
From: https://www.cnblogs.com/michaelcjl/p/17219146.html