首页 > 代码库 > centos 卸载 docker

centos 卸载 docker

yum list installed | grep docker     //查看安装过的包

 

docker-engine.x86_64                 17.03.0.ce-1.el7.centos         @dockerrepo

 

yum -y remove docker-engine.x86_64(上面显示的)       //删除包

 

rm -rf /var/lib/docker    //删除docker镜像及容器

 

centos 卸载 docker