散装java 散装java
首页
  • Java基础
  • JVM
  • Java多线程
  • 知识点
  • 案例
  • Redis
  • RabbitMQ
  • Kafka
  • Elasticsearch
  • MySQL
  • Linux
  • Docker
  • Zookeeper
  • Nginx
  • Git
  • JMeter
  • Gradle
  • 常见BUG
  • 常见解决方案
  • 资源
  • 问答
💖支持
Gitee (opens new window)
首页
  • Java基础
  • JVM
  • Java多线程
  • 知识点
  • 案例
  • Redis
  • RabbitMQ
  • Kafka
  • Elasticsearch
  • MySQL
  • Linux
  • Docker
  • Zookeeper
  • Nginx
  • Git
  • JMeter
  • Gradle
  • 常见BUG
  • 常见解决方案
  • 资源
  • 问答
💖支持
Gitee (opens new window)
  • BUG

    • BUG导读
    • zookeeper 链接异常
    • Docker启动异常
    • 解决方案

      • 解决方案导读
      • Java 从一段文本中识别 URL
    • BUG&CASE
    • BUG
    散装java
    2023-10-18
    目录

    Docker启动异常

    # 问题

    在进行docker重启的时候 sudo systemctl restart docker,提示错误

    [root@bulk]# sudo 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.
    
    1
    2

    这是时候,执行 docker stats 显示

    [root@bulk]# systemctl status docker.service
    ● docker.service - Docker Application Container Engine
       Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
       Active: failed (Result: start-limit) since 三 2023-10-18 09:14:07 CST; 38s ago
         Docs: https://docs.docker.com
      Process: 20504 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
     Main PID: 20504 (code=exited, status=1/FAILURE)
    
    10月 18 09:14:05 bulk systemd[1]: Failed to start Docker Application Container Engine.
    10月 18 09:14:05 bulk systemd[1]: Unit docker.service entered failed state.
    10月 18 09:14:05 bulk systemd[1]: docker.service failed.
    10月 18 09:14:07 bulk systemd[1]: docker.service holdoff time over, scheduling restart.
    10月 18 09:14:07 bulk systemd[1]: Stopped Docker Application Container Engine.
    10月 18 09:14:07 bulk systemd[1]: start request repeated too quickly for docker.service
    10月 18 09:14:07 bulk systemd[1]: Failed to start Docker Application Container Engine.
    10月 18 09:14:07 bulk systemd[1]: Unit docker.service entered failed state.
    10月 18 09:14:07 bulk systemd[1]: docker.service failed.
    
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18

    # 解决

    我这个问题的出现,是因为我改动了 docker 的配置文件 /etc/docker/daemon.json

    新追加了几个属性,然后忘记加逗号了,格式错误,因此才出现的上面的问题

    上次更新: 2023/10/19, 16:18:37
    zookeeper 链接异常
    解决方案导读

    ← zookeeper 链接异常 解决方案导读→

    Theme by Vdoing | Copyright © 2022-2024 散装java | MIT License | 鲁ICP备2022022143号
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式