admin管理员组文章数量:1612098
在docker挂载容器的时候报错:
/usr/bin/docker-current: Error response from daemon: driver failed programming external connectivity on endpoint quirky_lamport (21b19bef64d12fcfbd993c968b6cb4c48d21fe9f66d9fa0ea397e3f9d93adf2f): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 172.18.0.6:80 ! -i docker0: iptables: No chain/target/match by that name.
[= root@ miuyun /test = ]# pkill docker
[= root@ miuyun /test = ]# iptables -t nat -F
[= root@ miuyun /test = ]# ifconfig docker0 down
[= root@ miuyun /test = ]# yum install bridge-utils -
[= root@ miuyun /test = ]# brctl delbr docker0
[= root@ miuyun /test = ]# systemctl restart docker
然后就可以了
参考自:http://www.manongjc/article/39748.html
https://blog.miuyun.work
本文标签: CurrentErrorresponseusrBin
版权声明:本文标题:usrbindocker-current: Error response from daemon: driver failed programming external connectivity 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728628135a1166758.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论