我是靠谱客的博主 醉熏摩托,这篇文章主要介绍System has not been booted with systemd as init system (PID 1). Can‘t operate,现在分享给大家,希望可以做个参考。
Instead of using sudo systemctl start docker use: sudo /etc/init.d/docker start , as of right now we do not have systemd in WSL 2.
就是说wsl2里面没有 systemd
命令,我们需要用 sudo /etc/init.d/docker start
代替 sudo systemctl start docker
最后
以上就是醉熏摩托最近收集整理的关于System has not been booted with systemd as init system (PID 1). Can‘t operate的全部内容,更多相关System内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复