CentOS7的docker下載后啟動失敗 Job for docker.service failed because the control process exited with


CentOS7下載docker后啟動會出現的錯誤:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details
說明docker就沒有啟動成功

 

解決方法:

vim /etc/sysconfig/docker-storage

添加配置文件中:

DOCKER_STORAGE_OPTIONS="--selinux-enabled --log-driver=journald --signature-verification=false"

vim /etc/docker/daemon.json

寫入指定參數:
{ "storage-driver": "devicemapper" }
重啟docker服務

systemctl restart docker

沒有出現錯誤信息,說明問題已經解決

 


免責聲明!

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



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM