概述

由于需要变更配置,在进行重启时出现异常。

[root@VM-8-11-centos conf]# docker-compose -f Nginx_Node.yaml up -d
Creating network "conf_website" 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-7723b7cabbf3 -j RETURN: iptables: No chain/target/match by that name.
 (exit status 1))

解决方法

[root@VM-8-11-centos conf]# systemctl restart docker
END

本文标题:docker-compose配置网卡时无法启用 SKIP DNAT 规则

本文作者:宇宙最帅的男人

本文链接:https://lolicp.com/linux/202120160.html

版权声明:转载或者引用本文内容请注明来源及原作者,本文著作权归作者 (宇宙最帅的男人) 所有。

除非另有说明,本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

最后修改:2021 年 06 月 20 日
如果觉得我的文章对你有用,请随意赞赏