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).
管理员身份打开命令行工具
netsh winsock reset
就可以重新打开docker,如果不成功,再重启电脑就好了。可以就不用重启了。
网友评论