1. 程式人生 > >DOCKER配置完加速後,無法啟動的解決辦法

DOCKER配置完加速後,無法啟動的解決辦法

安裝完DOCKER,配置完加速源後,

執行systemctl restart 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.service狀態,執行systemctl status docker.service:

Failed to start Docker Application Container Engine.

 

解決:

 

解除安裝docker:

列出你安裝過的包:yum list installed | grep docker

刪除安裝包:yum -y remove docker-engine.x86_64  docker-client.x86_64 docker-common.x86_64 

刪除映象/容器等: rm -rf /var/lib/docker

 

重新安裝:

重新安裝docker:yum install docker