# Centos7 安装Docker-CE - IPIP
Linux,Docker

#中央仓库
yum-config-manager --add-repo http://download.docker.com/linux/centos/docker-ce.repo
#阿里仓库 
# 中央/阿里二选一
wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo
yum -y install docker-ce-19.03.5
#安装指定版本
yum -y install docker-ce
#安装最新
systemctl enable docker && systemctl start docker

评论

This is just a placeholder img.