当前位置:   article > 正文

docker 报错:driver failed programming external connectivity on endpoint

driver failed

错误具体输出为:

docker: Error response from daemon: driver failed programming external connectivity on endpoint myrabbit1 (0b0f1f1c5335a7e35d892caa31d335f945d1f43eb41b981a1396a0902afa6fc4):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 15672 -j DNAT --to-destination 172.17.0.2:15672 ! -i docker0: iptables: No chain/target/match by that name.
  • 1

场景:看错误来判断应该是端口映射或者网络出现了问题,端口映射问题几率较大!

参考连接:
https://stackoverflow.com/questions/44414130/docker-on-windows-10-driver-failed-programming-external-connectivity-on-endpoin
https://github.com/docker/for-win/issues/1038
在这里插入图片描述
所以我尝试重启了一下 docker 并重启容器,执行:

systemctl restart docker
docker start .....
  • 1
  • 2

结果成功!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/604938
推荐阅读
相关标签
  

闽ICP备14008679号