restart docker.serviceSystem has not been booted with systemd as init system (PID 1). Can't operate.
时间: 2023-09-22 22:10:43 浏览: 191
当你在使用命令"systemctl start docker"启动docker时,出现了"System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down"的错误信息。这个错误通常意味着你的系统没有使用systemd作为初始化系统。解决这个问题的方法有几种。
首先,你可以尝试使用命令"sudo service docker start"来启动服务。这个命令在某些情况下可能会解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解决WSL中启动docker出现的System has not been booted with systemd as init system (PID 1). Can‘t ...](https://blog.csdn.net/qq_45724216/article/details/114708087)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [System has not been booted with systemd as init system (PID 1). Can‘t operate.解决方法](https://blog.csdn.net/u012833399/article/details/128533933)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文