找回密码
 立即注册
CeraNetworksBGVM服务器主机交流会员请立即修改密码Sharktech防护
查看: 157|回复: 2

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

[复制链接]

15

主题

86

回帖

543

积分

高级会员

积分
543
发表于 2024-1-2 11:20:55 | 显示全部楼层 |阅读模式
死活起不来,只有客户端,没服务端,网上的方法改daemon和重建docker0网卡,改docker.service,各种重装,都基本试过了,还是不行。

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

错误具体:
[ol]
  • 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/FAILURE
  • Dec 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/FAILURE
  • Dec 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/FAILURE
  • Dec 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)
  • [/ol]复制代码
  • 回复

    使用道具 举报

    60

    主题

    294

    回帖

    1516

    积分

    金牌会员

    积分
    1516
    发表于 2024-1-2 11:22:25 | 显示全部楼层
    建议dd
    回复

    使用道具 举报

    0

    主题

    103

    回帖

    346

    积分

    中级会员

    积分
    346
    发表于 2024-1-2 11:44:00 | 显示全部楼层
    报错里提到了iptables失败,安装iptables,modprobe ip_tables加载一下模块
    回复

    使用道具 举报

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

    本版积分规则

    Archiver|手机版|小黑屋|HS2V主机综合交流论坛

    GMT+8, 2024-11-9 05:52 , Processed in 0.211606 second(s), 3 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5 |   访问量:   |   访客量:  

    © 2001-2024 Discuz! Team. |   今日访问量:    |   今日访客量:  

    快速回复 返回顶部 返回列表