标签:app cat cache load star persist ica nbsp x86_64
1、安装依赖包
yum -y install yum-utils device-mapper-persistent-data lvm2
2、安装docker
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3、#配置安装源
yum list docker-ce.x86_64 --showduplicates | sort -r
4、#查看docker版本
yum makecache fast && yum -y install docker-ce-18.09.3-3.el7
#安装docker 18.09.3-3
5、启动并验证Docker是否安装成功
systemctl daemon-reload && systemctl restart docker
#启动docker
systemctl enable docker.service
#设置开机启动
docker version #查看docker版本信息
标签:app cat cache load star persist ica nbsp x86_64
原文地址:https://www.cnblogs.com/ampl/p/11961503.html