docker 啟動失敗 Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.


CentOS7安裝docker,安裝成功后,啟動失敗 提示:

我們可以看到此處它提示是Failed to start Docker Application Container Engine.

於是在網上找各種類似錯誤,有說是需要把firewalld.service及selinux關閉。呃,這個的話是能夠導致docker啟動不了,可博主這塊兒不是因為這個原因導致。

后來查到,docker的engine 基於Device Mapper提供的一種存儲驅動,而它又依賴與 devicemapper。於是乎我將它給刪除並重啟服務,解決了docker無法正常啟動的問題。

# rm -rf /var/lib/docker/

# 添加如下內容 #

vim /etc/docker/daemon.json

{ "graph": "/mnt/docker-data", "storage-driver": "overlay" }

 

服務啟動成功!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 DOCKER啟動失敗Job for docker.service failed because the control process exited with error code. See "syste mctl status docker.service" and "journalctl -xe" for details. docker 報錯: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details Linux系統Docker啟動問題Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" 啟動Nginx服務失敗:Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. Linux 重啟網卡失敗 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. centos7啟動MySQL報 Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. linux----------啟動network的時候報錯Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. 啟動Jenkins報錯"Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details."解決辦法
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM