导语:wsl中的docker无法开机启动,需要设置docker开启启动以确保服务的正常。
service ssh restart
service docker start
win+r,shell:startup
,在该目录下创建vbs脚本
Set ws = WScript.CreateObject("WScript.Shell")
ws.run "wsl -d Ubuntu-18.04 -u root /etc/init.wsl", vbhide
https://blog.csdn.net/l229568441/article/details/106968306
https://blog.csdn.net/XhyEax/article/details/105560377
https://zhuanlan.zhihu.com/p/129299223