docker 无法启动 求大佬指点一下

[复制链接]
查看: 7910   回复: 2
发表于 2024-1-2 12:26:15 | 显示全部楼层 |阅读模式
死活起不来,只有客户端,没服务端,网上的方法改daemon和重建docker0网卡,改docker.service,各种重装,都基本试过了,还是不行。

大佬给我点拨一下吧。谢谢大佬!

错误具体:
  1. Jan 02 11:12:59 112233.sg systemd[1]: docker.service: Start request repeated too quickly.Jan 02 11:12:59 112233.sg systemd[1]: docker.service: Failed with result 'exit-code'.░░ Subject: Unit failed░░ Defined-By: systemd░░ Support: https://www.debian.org/support░░ ░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.Jan 02 11:12:59 112233.sg systemd[1]: Failed to start Docker Application Container Engine.░░ Subject: A start job for unit docker.service has failed░░ Defined-By: systemd░░░ ░░ A start job for unit docker.service has finished with a failure.░░ ░░ The job identifier is 3569 and the job result is failed.Jan 02 11:12:59 112233.sg systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.░░ Subject: Unit failed░░ Defined-By: systemd░░ ░░ The unit docker.socket has entered the 'failed' state with result 'service-start-limit-hit'.Dec 26 11:47:29 112233.sg systemd[1]: Starting Docker Application Container Engine...Dec 26 11:47:29 112233.sg dockerd[1961415]: time="2023-12-26T11:47:29.523925166+08:00" level=info msg="Starting up"Dec 26 11:47:29 112233.sg dockerd[1961415]: time="2023-12-26T11:47:29.643098005+08:00" level=info msg="Loading containers: start."Dec 26 11:47:29 112233.sg dockerd[1961415]: time="2023-12-26T11:47:29.661866566+08:00" level=warning msg="Running modprobe bridge br_n>Dec 26 11:47:29 112233.sg dockerd[1961415]: time="2023-12-26T11:47:29.717713332+08:00" level=info msg="unable to detect if iptables su>Dec 26 11:47:30 112233.sg dockerd[1961415]: failed to start daemon: Error initializing network controller: error obtaining controller >Dec 26 11:47:30 112233.sg dockerd[1961415]:  (exit status 4)Dec 26 11:47:30 112233.sg systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILUREDec 26 11:47:30 112233.sg systemd[1]: docker.service: Failed with result 'exit-code'.Dec 26 11:47:30 112233.sg systemd[1]: Failed to start Docker Application Container Engine.Dec 26 11:47:32 112233.sg systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.Dec 26 11:47:32 112233.sg systemd[1]: Stopped Docker Application Container Engine.Dec 26 11:47:32 112233.sg systemd[1]: Starting Docker Application Container Engine...Dec 26 11:47:32 112233.sg dockerd[1962233]: time="2023-12-26T11:47:32.850881835+08:00" level=info msg="Starting up"Dec 26 11:47:32 112233.sg dockerd[1962233]: time="2023-12-26T11:47:32.907110509+08:00" level=info msg="[graphdriver] using prior stora>Dec 26 11:47:32 112233.sg dockerd[1962233]: time="2023-12-26T11:47:32.907460881+08:00" level=info msg="Loading containers: start."Dec 26 11:47:32 112233.sg dockerd[1962233]: time="2023-12-26T11:47:32.917556591+08:00" level=warning msg="Running modprobe bridge br_n>Dec 26 11:47:32 112233.sg dockerd[1962233]: time="2023-12-26T11:47:32.954405281+08:00" level=info msg="unable to detect if iptables su>Dec 26 11:47:33 112233.sg dockerd[1962233]: time="2023-12-26T11:47:33.858960706+08:00" level=info msg="stopping event stream following>Dec 26 11:47:33 112233.sg dockerd[1962233]: time="2023-12-26T11:47:33.859449961+08:00" level=info msg="stopping event stream following>Dec 26 11:47:33 112233.sg dockerd[1962233]: failed to start daemon: Error initializing network controller: error obtaining controller >Dec 26 11:47:33 112233.sg dockerd[1962233]:  (exit status 4)Dec 26 11:47:33 112233.sg systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILUREDec 26 11:47:33 112233.sg systemd[1]: docker.service: Failed with result 'exit-code'.Dec 26 11:47:33 112233.sg systemd[1]: Failed to start Docker Application Container Engine.Dec 26 11:47:35 112233.sg systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.Dec 26 11:47:35 112233.sg systemd[1]: Stopped Docker Application Container Engine.Dec 26 11:47:35 112233.sg systemd[1]: Starting Docker Application Container Engine...Dec 26 11:47:36 112233.sg dockerd[1962470]: time="2023-12-26T11:47:36.046394998+08:00" level=info msg="Starting up"Dec 26 11:47:36 112233.sg dockerd[1962470]: time="2023-12-26T11:47:36.150433637+08:00" level=info msg="[graphdriver] using prior stora>Dec 26 11:47:36 112233.sg dockerd[1962470]: time="2023-12-26T11:47:36.151455978+08:00" level=info msg="Loading containers: start."Dec 26 11:47:36 112233.sg dockerd[1962470]: time="2023-12-26T11:47:36.161369307+08:00" level=warning msg="Running modprobe bridge br_n>Dec 26 11:47:36 112233.sg dockerd[1962470]: time="2023-12-26T11:47:36.211323477+08:00" level=info msg="unable to detect if iptables su>Dec 26 11:47:37 112233.sg dockerd[1962470]: time="2023-12-26T11:47:37.038397211+08:00" level=info msg="stopping event stream following>Dec 26 11:47:37 112233.sg dockerd[1962470]: failed to start daemon: Error initializing network controller: error obtaining controller >Dec 26 11:47:37 112233.sg dockerd[1962470]:  (exit status 4)Dec 26 11:47:37 112233.sg systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILUREDec 26 11:47:37 112233.sg systemd[1]: docker.service: Failed with result 'exit-code'.Dec 26 11:47:37 112233.sg systemd[1]: Failed to start Docker Application Container Engine.Dec 26 11:47:39 112233.sg systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.Dec 26 11:47:39 112233.sg systemd[1]: Stopped Docker Application Container Engine.Dec 26 11:47:39 112233.sg systemd[1]: docker.service: Start request repeated too quickly.Dec 26 11:47:39 112233.sg systemd[1]: docker.service: Failed with result 'exit-code'.Dec 26 11:47:39 112233.sg systemd[1]: Failed to start Docker Application Container Engine.Dec 26 12:49:07 112233.sg systemd[1]: Starting Docker Application Container Engine...Dec 26 12:49:07 112233.sg dockerd[2008703]: time="2023-12-26T12:49:07.145012700+08:00" level=info msg="Starting up"Dec 26 12:49:07 112233.sg dockerd[2008703]: time="2023-12-26T12:49:07.202382722+08:00" level=info msg="[graphdriver] using prior stora>Dec 26 12:49:07 112233.sg dockerd[2008703]: time="2023-12-26T12:49:07.203278912+08:00" level=info msg="Loading containers: start."Dec 26 12:49:07 112233.sg dockerd[2008703]: time="2023-12-26T12:49:07.215566216+08:00" level=warning msg="Running modprobe bridge br_n>Dec 26 12:49:07 112233.sg dockerd[2008703]: time="2023-12-26T12:49:07.258199436+08:00" level=info msg="unable to detect if iptables su>Dec 26 12:49:08 112233.sg dockerd[2008703]: time="2023-12-26T12:49:08.106609895+08:00" level=info msg="stopping event stream following>Dec 26 12:49:08 112233.sg dockerd[2008703]: failed to start daemon: Error initializing network controller: error obtaining controller >Dec 26 12:49:08 112233.sg dockerd[2008703]:  (exit status 4)
复制代码
回复

使用道具 举报

发表于 2024-1-2 12:26:45 | 显示全部楼层
建议dd
回复 支持 反对

使用道具 举报

发表于 2024-1-2 12:27:10 | 显示全部楼层
报错里提到了iptables失败,安装iptables,modprobe ip_tables加载一下模块
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则