如何从ubuntu 14.04完全删除docker [英] How to remove docker completely from ubuntu 14.04

查看:47
本文介绍了如何从ubuntu 14.04完全删除docker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经在Ubuntu上安装Docker,但是当我尝试删除Docker时,该Docker仍然存在于系统中.我遵循了这个 https://stackoverflow.com/a/31313851/2340159 ,但是没有用.

I installed Docker on Ubuntu a while back but when I tried to remove, the Docker still exists in the system. I followed this https://stackoverflow.com/a/31313851/2340159 but didn't work.

推荐答案

显然,我使用的系统是 docker-ce 而不是Docker.因此,在命令下运行即可达到目的.

Apparently, the system I was using had the docker-ce not Docker. Thus, running below command did the trick.

sudo apt-get purge docker-ce

sudo rm -rf/var/lib/docker

希望有帮助

这篇关于如何从ubuntu 14.04完全删除docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆