碼上歡樂
首頁
榜單
標簽
關於
搜索
相關內容
簡體
繁體
Docker內運行systemctl報錯,System has not been booted with systemd as init system
本文轉載自
查看原文
2020-09-09 15:13
557
Docker
/
docker
要點:
docker run 是增加如下參數
/usr/sbin/init
--privileged
-u root ---必須使用root用戶啟動,否則一樣報錯!!!
×
免責聲明!
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。
猜您在找
Docker容器里使用systemctl命令報錯(System has not been booted with systemd as init system)
Docker: System has not been booted with systemd as init system
修復 "System has not been booted with systemd as init system "的錯誤。
修復 "System has not been booted with systemd as init system "的錯誤。
docker報錯System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
System has not been booted with systemd as init system (PID 1). Can't operate.
/etc/systemd/system和/lib/systemd/system的區別
/etc/systemd/system和/lib/systemd/system的區別
/etc/systemd/system和/lib/systemd/system的區別
The system clock has been set back more than 24 hours
粵ICP備18138465號
© 2018-2026 CODEPRJ.COM