Docker容器里的centos、unbuntu没法使用 systemctl 命令的解决方案

听说在 Linux Docker中没法使用 systemd(systemctl) 相关命令的缘由是 1号进程不是 init ,而是其余例如 /bin/bash ,因此致使缺乏相关文件没法运行。(System has not been booted with systemd as init system (PID 1). Can't operat)docker 解决方案:/sbin/initubun
相关文章
相关标签/搜索