openwrt docker方式安装1panel,配置容器报错stderr: bash: line 1: systemctl: command not found

物理机是openwrt,docker安装1panel,

在 OpenWrt 上通过 Docker 安装 1Panel 时遇到 stderr: bash: line 1: systemctl: command not found 的错误,通常是因为 OpenWrt 的 Docker 容器内没有安装 systemd 或者相关的 systemctl 命令。systemd 是 Linux 系统中用来初始化系统以及管理系统进程和守护进程的系统管理程序,而 systemctlsystemd 提供的命令行工具。

参考这位大佬的分享:
https://github.com/1Panel-dev/1Panel/issues/3524

1 个赞