docker启动镜像报错

docker启动镜像报错:

docker: Error response from daemon: driver failed programming external connectivity on endpoint zookeeper (8ec82732da443cf46f61edfb05ab05d8fb931a87f29e7b9fb6473afc92686f07): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 2181 -j DNAT --to-destination 192.168.129.2:2181 ! -i docker0: iptables: No chain/target/match by that name.

(exit status 1)).

解决方法:

pkill docker

iptables -t nat -F

ifconfig docker0 down

brctl delbr docker0

service docker restart

参考:https://www.zengjunpeng.com/?id=90

谢谢博主

上一篇:SQL Server优化相关的工具脚本


下一篇:day5