1. Centos7安装Docker

2. 设置仓库

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache fast

3. 安装docker CE

yum -y install docker-ce

4. 启动Docker

systemctl start docker
By NongBin            最后更新时间: 2019-11-10 16:40:05

results matching ""

    No results matching ""