docker安装1panel报错

报错样子

System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down

解决方式

# apt 更新
> sudo apt-get update
 
# 安装 systemd, systemctl
> sudo apt-get install systemd -y
> sudo apt-get install systemctl -y

再去安装1panel

https://1panel.cn/docs/installation/online_installation/

注意事项

安装过程,本地注意主机的DNS,建议用114.114.114.114;保险点,我用8.8.8.8就安装不上。