Docker 启动容器时出现docker0:iptables:No chain/target/match by that name

防火墙跟docker冲突问题

  Centos8iptables防火墙下:
  Docker 启动容器时出现 docker0: iptables: No chain/target/match by that name

解决办法

cd /etc/sysconfig/
vi iptables-config

# 找到
IPTABLES_SAVE_COUNTER="no"

将no改为yes

保存退出

# 将docker重启
systemctl restart docker