问题:Docker安装之后,报Unexpected WSL error:

An unexpected error was encounted 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).

解决方法:通过win+R打开老版CMD,右击表头,点击属性按钮

 取消使用旧版控制台选项,重启电脑就可以打开docker了

 

 

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐