Windwos启动Docker失败
一、环境
windows10
PS C:\WINDOWS\system32> wsl --version WSL 版本: 1.2.5.0
内核版本: 5.15.90.1
WSLg 版本: 1.0.51
MSRDC 版本: 1.2.3770
Direct3D 版本: 1.608.2-61064218
DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows 版本: 10.0.19045.3324
二、现象
启动docker失败
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).
启动wsl失败
C:\Users\ChengHaoQian>wsl
参考的对象类型不支持尝试的操作。
Error code: Wsl/Service/0x8007273d
三、解决办法
方案一:
在powershell(管理员)中执行netsh winsock reset
命令(临时的)
方案二:
- 在设置中,卸载WSL(Windows Subsystem for Linux);
- 在应用商店重新安装WSL(Windows Subsystem for Linux);
四、参考
标签:Windows,WSL,wsl,失败,版本,Windwos,Docker From: https://www.cnblogs.com/anhaoyang/p/windwos-starts-docker-failure-idsjf.html