当前位置:   article > 正文

window安装docker desktop常见问题_an unexpected error was encountered while executin

an unexpected error was encountered while executing a wsl command. common ca

1.An unexpected error was encountered

An unexpected error was encountered while executing a WSLcommand. Common causes include access rights issues, which occurafter waking the computer or not being connected to your domain/active directory. Please try shutting WSL down (wsl --shutdown) and/or rebooting yourcomputer. If not sufficient, WSL may need to be reinstalled fully. As alast resort, try to uninstall/reinstall Docker Desktop. lf the issue persistsplease collect diagnostics and submit an issue (https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-theterminal). Error details:2 errors occurred:

----解决办法:

netsh winsock reset

每次开机以管理员方式自动执行一次该命令

如果正常,就可以使用docker了,如果还是报错就重启下pc.

 

 

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号