1panel安装OpenResty报错:Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait

1panel安装OpenResty报错:Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait

admin
2026-07-04 / 0 评论 / 1 阅读

Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-bc599def26f9 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))

报错显示与防火墙有关,想到可能与之前重启过防火墙可能有关联,在结合从网络查询到信息,找到解决方法。

原因分析
Docker属于容器化技术,如果宿主机防火墙的状态发生了改变,Docker就无法设置容器的IP了

解决方法
重启docker 服务
service docker restart

0

评论 (0)

取消
0:00