在docker容器上部署项目后,启动docker容器,出现

iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8001 -j DNAT --to-destination 172.17.0.5:8080 ! -i docker0: iptables: No chain/target/match by that name.

解决方案:

  1、先看能不能ping通网络。若能依次执行以下命令;

  2、pkill docker

  3、iptables -t nat -F

  4、ifconfig docker0 down

  5、brctl delbr docker0

  6、docker -d

  7、systmctl restart docker 

  8、重启docker服务

相关文章:

  • 2022-12-23
  • 2022-02-28
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-02-08
  • 2021-04-08
猜你喜欢
  • 2022-12-23
  • 2021-05-27
  • 2022-01-19
  • 2022-12-23
  • 2021-04-19
  • 2021-06-14
  • 2022-12-23
相关资源
相似解决方案