标签:启动 epo 安装docker yum 版本 remove download persist system
参考官网地址官方网站:https://docs.docker.com/engine/installation/linux/docker-ce/centos/
[root@centos_7 ~]# sudo yum remove docker docker-common docker-selinux docker-engine
[root@centos_7 ~]# sudo yum install -y yum-utils device-mapper-persistent-data lvm2
[root@centos_7 ~]# sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
[root@centos_7 ~]# sudo yum install docker-ce
[root@centos_7 ~]# sudo systemctl start docker
[root@centos_7 ~]# sudo yum remove docker-ce
[root@centos_7 ~]# sudo rm -rf /var/lib/docker
标签:启动 epo 安装docker yum 版本 remove download persist system
原文地址:http://blog.51cto.com/hellocjq/2070756