• Docker: Error response from daemon: Cannot restart container xxx: driver failed programming external


    场景描述:

     服务访问不了,尝试重启相应容器后,提示如下异常:

    Error response from daemon: Cannot restart container breeze: driver failed programming external connectivity on endpoint breeze (9863f65cad3c44a4af69c4099239bc1a422******************):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0

    原因分析,docker服务启动后,不能重启宿主机网络,否则就出现上述问题。

    解决方式:

    重启docker服务,重启相应容器:

    systemctl restart docker

    docker restart odoo

  • 相关阅读:
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Ethical Hacking
    Can you answer these queries? HDU
    Count the Colors ZOJ
    Balanced Lineup POJ
  • 原文地址:https://www.cnblogs.com/hellojesson/p/14435263.html
Copyright © 2020-2023  润新知