美文网首页
centos 卸载docker

centos 卸载docker

作者: wiken_he | 来源:发表于2019-10-15 10:51 被阅读0次
    yum remove docker \
                        docker-client \
                        docker-client-latest \
                        docker-common \
                       docker-latest \
                       docker-latest-logrotate \
                       docker-logrotate \
                        docker-selinux \
                        docker-engine-selinux \
                      docker-engine
    
    rm -rf /etc/systemd/system/docker.service.d
    
    rm -rf /var/lib/docker
    
    rm -rf /var/run/docker
    
    # 查询安装过的包
    yum list installed | grep docker
    
    # 删除安装的软件包
    yum -y remove docker-engine.x86_64
    

    相关文章

      网友评论

          本文标题:centos 卸载docker

          本文链接:https://www.haomeiwen.com/subject/cnwjmctx.html