运行代码
sudo reboot
报错为
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Failed to talk to init daemon.
我的原因是在docker内运行该命令
应该退出一步,在服务器中运行
运行代码
sudo reboot
报错为
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Failed to talk to init daemon.
我的原因是在docker内运行该命令
应该退出一步,在服务器中运行