安装后出现“Docker Desktop 已停止...”消息

Yan*_*is 67 installation docker

安装了适用于 Windows 的 docker 桌面,在安装了 linux 内核更新包并更改为 wsl 2 版本(启用虚拟化)后,但我收到消息“Docker Desktop 已停止...”,如下所示。

尝试过:

  • 再次卸载并重新安装
  • 以管理员身份运行应用程序

在此输入图像描述

小智 18

来自https://github.com/docker/for-win/issues/12545#issuecomment-1037225140

只需转到配置文件C:\Users\<username>\AppData\Roaming\Docker\settings.json,然后设置"wslEngineEnabled": true

保存后我必须重新启动。

  • 此设置“wslEngineEnabled”已设置为 true,但我仍然遇到问题。 (63认同)
  • 这是行不通的。 (7认同)

小智 10

我有同样的问题。如果您使用的是 docker 4.5.0,请尝试卸载并安装 4.4.4。这对我有用。