windows10下docker启动失败原因定位


docker在windows10下,使用WSL功能,经常启动失败,定位原因如下:

1、打开powershell
2、docker-desktop-test
3、wsl --import docker-desktop-test .\docker-desktop-test\ 'C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar' --version=2

一般就会弹出错误,告诉你原因

假如是

1、登录失败: 未授予用户在此计算机上的请求登录类型。(Logon failure: the user has not been granted the requested logon type at this computer.)

解决方法:

1、打开powershell
2、wsl --shutdown
3、gpupdate /force

然后就可以启动docker了。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM