美文网首页Security
ERROR: Failed to Setup IP tables

ERROR: Failed to Setup IP tables

作者: 爱吃蚊子爱子钰 | 来源:发表于2023-10-24 19:27 被阅读0次

1. 报错信息

# docker-compose up -d
Creating network "2023-10-25-xcheck-net" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-7b14cc2d1da4 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))

ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule

2. 原因分析

原因是关闭防火墙之后docker需要重启

3. 解决办法

重启Docker服务解决
service docker restart

相关文章

网友评论

    本文标题:ERROR: Failed to Setup IP tables

    本文链接:https://www.haomeiwen.com/subject/qwvsidtx.html