英文:
Docker - Windows 10 - An unexpected error was encountered while executing a WSL command
问题
I'm getting the below error after installing a new version of Docker Desktop:
> 安装新版本的 Docker Desktop 后,我遇到以下错误:
> An unexpected error was encountered while executing a WSL command.
> 在执行 WSL 命令时遇到了意外错误。
> Common causes include access rights issues, which occur after waking
> the computer or not being connected to your domain/active directory.
> 常见原因包括访问权限问题,这些问题在唤醒计算机后或未连接到域/活动目录时会发生。
> Please try shutting WSL down (wsl --shutdown) and/or rebooting your
> computer. If not sufficient, WSL may need to be reinstalled fully. As
> a last resort, try to uninstall/reinstall Docker Desktop. If the issue
> persists please collect diagnostics and submit an issue
> (https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal).
请尝试关闭 WSL(wsl --shutdown)和/或重新启动计算机。如果不足以解决问题,可能需要完全重新安装 WSL。作为最后的手段,请尝试卸载/重新安装 Docker Desktop。如果问题仍然存在,请收集诊断信息并提交问题(https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal)。
Thanks in advance.
提前感谢您的帮助。
I am installing Docker Desktop in Windows 10.
我正在在 Windows 10 上安装 Docker Desktop。
英文:
I'm getting the below error after installing a new version of Docker Desktop:
> An unexpected error was encountered while executing a WSL command.
> Common causes include access rights issues, which occur after waking
> the computer or not being connected to your domain/active directory.
> Please try shutting WSL down (wsl --shutdown) and/or rebooting your
> computer. If not sufficient, WSL may need to be reinstalled fully. As
> a last resort, try to uninstall/reinstall Docker Desktop. If the issue
> persists please collect diagnostics and submit an issue
> (https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal).
Thanks in advance.
I am installing Docker Desktop in Windows 10.
答案1
得分: 1
这是我处理过的案例。
您需要安装Ubuntu发行版并将其设置为Windows子系统的默认发行版。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论