关闭防火墙后,启动容器报错: docker0: iptables: No chain/target/match by that name

在关闭防火墙后, 启动容器报以下错误:

Error response from daemon: Cannot restart container 41d2e371d5c5: driver failed programming external connectivity on endpoint sentinel-26379 (1be5e5aa55e555d192adfcd90b0ad395683afce74087dc9d21933331d41051ea):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 26379 -j DNAT --to-destination 172.17.0.2:26379 ! -i docker0: iptables: No chain/target/match by that name.

解决方案:
重启docker: systemctl restart docker

你可能感兴趣的:(问题解决)