• 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"
    
    
  • 相关阅读:
    C++/C编程指南之基本语句
    利用Lucene.net对附件做搜索
    验证码的破解思路!
    javascript中replace的正则表达式语法
    让数据库访问组件支持Using
    C#读写文件总结
    net use命令详细解释
    利用SQL语句清理日志
    彻底修改Google Chrome浏览器的安装目录
    oracle sqlplus 常用命令大全
  • 原文地址:https://www.cnblogs.com/xiaoqi/p/12607733.html
Copyright © 2020-2023  润新知