window安装docker desktop常见问题

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

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

window安装docker desktop常见问题_第1张图片

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

window安装docker desktop常见问题_第2张图片

 

 

你可能感兴趣的:(windows环境搭建,java)