CentOS使用yum安装Docker-Ce 18.09
配置Docker yum 源
[root@VM_0_10_centos ~]# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Loaded plugins: fastestmirror, langpacks
adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
.......
更新yum 源
[root@VM_0_10_centos ~]# yum makecache
Loaded plugins: fastestmirror, langpacks
docker-ce-stable | 3.5 kB 00:00:00
epel
......
安装Docker-CE
[root@VM_0_10_centos ~]# yum install -y docker-ce
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Runni