Job for docker.service failed because start of the service was attempted too often. See "systemctl status docker.service" and "journalctl -xe" for details. To force a start use "systemctl reset-failed


安裝docker時,自己添加了國內的hub.docker.com鏡像

[root@ce-docker ~]# systemctl restart docker

出現以下報錯:
Job for docker.service failed because start of the service was attempted too often. See "systemctl status docker.service" and "journalctl -xe" for details.
To force a start use "systemctl reset-failed docker.service" followed by "systemctl start docker.service" again.

[root@ce-docker ~]# vim /etc/docker/daemon.json
[root@ce-docker ~]# mv /etc/docker/daemon.json /etc/docker/daemon.conf
[root@ce-docker ~]# systemctl start docker

這樣就成功了

[root@ce-docker ~]# service status docker
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
[root@ce-docker ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since 三 2019-06-26 11:25:10 CST; 43s ago
     Docs: https://docs.docker.com
 Main PID: 33473 (dockerd)
    Tasks: 8
   Memory: 28.8M
   CGroup: /system.slice/docker.service
           └─33473 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.620816911+08:00" level=info ms...grpc
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.624774687+08:00" level=info ms...ay2"
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.627037017+08:00" level=info ms...nds"
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.627583030+08:00" level=info ms...rt."
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.705312061+08:00" level=info ms...ess"
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.735358787+08:00" level=info ms...ne."
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.842464352+08:00" level=info ms...09.6
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.842687809+08:00" level=info ms...ion"
6月 26 11:25:10 ce-docker systemd[1]: Started Docker Application Container Engine.
6月 26 11:25:10 ce-docker dockerd[33473]: time="2019-06-26T11:25:10.865343198+08:00" level=info ms...ock"
Hint: Some lines were ellipsized, use -l to show in full.







免責聲明!

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



猜您在找 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 啟動失敗 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. 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. Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. 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. Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details.
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM