docker中使用systemctl报错Failed to get D-Bus connection: Operation not permitted

启动时需要增加 privileged  和init

docker run -tdi --privileged centos init


你可能感兴趣的:(docker中使用systemctl报错Failed to get D-Bus connection: Operation not permitted)