Docker内运行systemctl报错,System has not been booted with systemd as init system

要点:
docker run 是增加如下参数

  1. /usr/sbin/init
  2. --privileged
  3. -u root ---必须使用root用户启动,否则一样报错!!!
posted @ 2020-09-09 15:13  jiftle  阅读(755)  评论(0编辑  收藏  举报