首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法从WSL上的Ubuntu卸载Docker

无法从WSL上的Ubuntu卸载Docker
EN

Stack Overflow用户
提问于 2018-07-17 17:03:53
回答 0查看 5.5K关注 0票数 9

我正在尝试卸载Docker,但总是收到错误。我已经在互联网上搜索过了,但是没有成功修复这个错误。我的印象是有一些损坏的软件包,但总的来说我对Linux非常陌生。这就是结果:

代码语言:javascript
复制
sudo apt-get purge -y docker-ce 
                                                                                                                                                 1 ↵ Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  docker-ce*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 181 MB disk space will be freed.
(Reading database ... 44147 files and directories currently installed.)
Removing docker-ce (18.03.1~ce-0~ubuntu) ...
invoke-rc.d: could not determine current runlevel
 * Stopping Docker: docker                                                                                                                                                                                      start-stop-daemon: warning: failed to kill 466: No such process
No process in pidfile '/var/run/docker-ssd.pid' found running; none killed.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: error processing package docker-ce (--purge):
 subprocess installed pre-removal script returned error exit status 1
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

我希望有人能帮我做这件事。:)

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51377291

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档