docker中安裝centos無法使用systemctl命令管理進程,報以下錯誤:
Failed to get D-Bus connection: Operation not permitted
原因:
- 需要啟動systemd進程
- 需要特權
解決方法:
docker run -tdi --privileged centos init
docker中安裝centos無法使用systemctl命令管理進程,報以下錯誤:
Failed to get D-Bus connection: Operation not permitted
原因:
解決方法:
docker run -tdi --privileged centos init
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。