卸载 Docker for Centos


layout: post
title: “”
subtitle: “”
date: 2015-07-22 17:16:00
author: “Xiekers”
header-mask: 0.3
catalog: true
tags:
– Docker

– Centos

一 、使用yum list installed | grep docker命令查看版本信息;

yum list installed | grep docker
docker-engine.x86_64    1.7.1-1.el6

二 、使用 yum -y remove 命令删除程序包;

yum -y remove docker-engine.x86_64

三 、但是删除后,容器及其文件等等还存在你的服务器内,使用下文命令进行删除;

rm -rf /var/lib/docker

Leave a Reply

Your email address will not be published. Required fields are marked *