小编Eck*_*cki的帖子

无法在WSL上从Ubuntu卸载Docker

我正在尝试卸载Docker,但总是收到错误消息。我已经在互联网上进行搜索,但未能成功修复该错误。我印象中有一些破损的软件包,但对于Linux来说,我通常是新手。结果如下:

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 …
Run Code Online (Sandbox Code Playgroud)

docker ubuntu-16.04 windows-subsystem-for-linux

4
推荐指数
1
解决办法
1769
查看次数