docker-compose配置网卡时无法启用 SKIP DNAT 规则

来自:互联网
时间:2021-08-28
阅读:

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

[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
返回顶部
顶部