当前位置:   article > 正文

firewalld 和 docker 冲突问题_error response from daemon: cannot restart contain

error response from daemon: cannot restart container nginx: driver failed pr

直接永久关闭防火墙服务

参考资料

错误提示

Error response from daemon: Cannot restart container nginx-1.19.1: driver failed programming external connectivity on endpoint nginx-1.19.1 (3efe0edd73ddf6129f38ee3e57cde1309a3b70bb2cf9df35232e6a412f161300): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name. (exit status 1))

解决方案

  • 删除原容器
  • 重启docker命令,然后再次启动安装容器
    systemctl restart docker
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/604907
推荐阅读
相关标签
  

闽ICP备14008679号