容器内使用systemctl 命令时出现(System has not been booted with systemd as init system (PID 1). Can’t operat….信息。 解决方案:/sbin/init 例如:Centos8 docker run -itd —name centos —privileged=true centos /sbin/initdocker exec -it centos /bin/bash