当前位置: 首页 > 工具软件 > wait-for > 使用案例 >

docker启动报错 (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport

全兴运
2023-12-01

ERROR: for ruoyi-mysql  Cannot start service ruoyi-mysql: driver failed programming external connectivity on endpoint ruoyi-mysql (f8adc2ba3b5617c4fd863ddb6961f2815e489090c8b12089b1d6466e05d79163):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 3306 -j DNAT --to-destination 172.18.0.2:3306 ! -i br-5d59aa1287a9: iptables: No chain/target/match by that name.
 (exit status 1))
ERROR: Encountered errors while bringing up the project.

在启动Docker mysql 的时候提示上面错误,

解决方式:

重新启动Docker

sudo systemctl restart docker

 类似资料: