赞
踩
报错:
Docker Desktop- Unexpected WSL error 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 (//docs.docker.com/desktop/troubleshoot/overview/#fdiagnose-from-the-terminal)。
网上的各种方法、命令、windows功能开关都尝试过了,但我的电脑上打开Docker一直会报这个错。
Docker的官网上告诉我们在windows上安装有两种方法,一个是使用wsl一个是使用hyper-v。
Install Docker Desktop on Windows | Docker Docs
于是我尝试重新安装docker时,选择不使用wsl,而是hyper-v,一下就打开了。
红色方框不要勾选:即使用hyper-v
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。