当前位置:   article > 正文

解决Docker Desktop启动异常 Docker Desktop- WSL distro terminated abruptly_a wsl distro that docker desktop relies on has exi

a wsl distro that docker desktop relies on has exited unexpectedly. this usu

异常

当打开Docker Desktop时候,启动docker引擎时,提示
在这里插入图片描述
加粗样式文本信息

Docker Desktop - WSL distro terminated abruptly
A WSL distro Docker Desktop relies on has exited unexpectedly. This usually happensas a
result of an external entity terminating WSL (e.g. running wsl --shutdown).

异常原因:
WSL 分发出了问题,需要注销所有老的WSL 分发。

解决办法

1.打开 PowerShell或者CMD 以管理员身份运行。
2.运行以下命令以列出已安装的 WSL 分发:

wsl --list
  • 1

3.运行以下命令以注销 Docker 相关的分发:

wsl --unregister <distro_name
    声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/运维做开发/article/detail/808442
    推荐阅读
    相关标签
      

    闽ICP备14008679号