碼上快樂
1秒登錄
首頁
榜單
標簽
關於
搜索
相關內容
簡體
繁體
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 (PID 1). Can't operate.
AnnotationConfigApplicationContext ad has not been refreshed yet 報錯
解決報錯:scandir() has been disabled for security reasons
Exception has been thrown by the target of an invocation 網站報錯
Docker - 運行 Mysql 容器后報錯:[ERROR] --initialize specified but the data directory has files in it. Aborting.
Hp電腦開機報錯:no boot disk has been detected or the disk has failed
Operating system error 995(The I/O operation has been aborted because of either a thread)
the license has been canceled
粵ICP備18138465號
© 2018-2025 CODEPRJ.COM