System has not been booted with systemd as init system

  在docker 容器裏使用systemctl命令報錯 如:systemctl start keepalived.service 問題原因: 我啓動centos容器的命令是: docker run -d --name centos_1 -it centos:latest /bin/bash 需要修改爲 docker run -tid --name centos_1 --privileged=t
相關文章
相關標籤/搜索