zoukankan      html  css  js  c++  java
  • list bridge addresses failed: no available network

    docker 启动失败,journalctl -xe 查看发现报错"list bridge addresses failed: no available network"

    定位是网络原因,采取最简单粗暴的方法:

    • /var/lib/docker 清空
    mv /var/lib/docker /var/lib/docker-bak
    
    • 删除docker0和docker_gwbridge 网络
    ifconfig docker0 down
    brctl delbr docker0
    ifconfig docker_gwbridge down
    brctl delbr docker_gwbridge 
    

    重启docker即可:

    systemctl restart docker.service
    

    验证:

    ● docker.service - Docker Application Container Engine
       Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
       Active: active (running) since Tue 2020-03-31 19:25:55 CST; 5min ago
         Docs: http://docs.docker.io
      Process: 14395 ExecStartPost=/sbin/iptables -I FORWARD -s 0.0.0.0/0 -j ACCEPT (code=exited, status=0/SUCCESS)
     Main PID: 14394 (dockerd)
       Memory: 43.4M
       CGroup: /system.slice/docker.service
               ├─14394 /opt/kube/bin/dockerd
               └─14408 docker-containerd --config /var/run/docker/containerd/containerd.toml
    
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd-debug.sock"
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd.sock"
    Mar 31 19:25:55 docker86-21 dockerd[14394]: time="2020-03-31T19:25:55+08:00" level=info msg="containerd successfully booted in 0.132473s"
    
    
  • 相关阅读:
    20145305 《信息安全系统设计基础》实验二 固件设计
    20145305 《信息安全系统设计基础》期中总结
    20145305 《信息安全系统设计基础》第7周学习总结
    20145305 《信息安全系统设计基础》第6周学习总结
    20145305 《信息安全系统设计基础》第5周学习总结
    20145305 《信息安全系统设计基础》第3周学习总结
    # 20145305 《信息安全系统设计基础》第2周学习总结
    20145305《信息安全系统设计基础》第1周学习总结
    20145304 20145315 《信息安全系统设计基础》 实验一 开发环境的熟悉
    20145304 《信息安全系统设计基础》第十一周学习总结
  • 原文地址:https://www.cnblogs.com/xiaoqi/p/12607733.html
Copyright © 2011-2022 走看看