ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint nginx (84a2d44102b6fd874d94c52c199958bbb88214bf31890d9a66e264336f2a9794): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 172.20.0.2:80 ! -i br-90c5e5593694: iptables: No chain/target/match by that name. (exit status 1))
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint nginx (84a2d44102b6fd874d94c52c199958bbb88214bf31890d9a66e264336f2a9794): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 172.20.0.2:80 ! -i br-90c5e5593694: iptables: No chain/target/match by that name. (exit status 1)) ERROR: Encountered errors while bringing up the project.
1、本身部署服务需要按照Nginx mysql redis 2、安装完成后去阿里云设置安全组,打开对应的端口 3、打开后发现mysql和redis都可以访问 但是Nginx无法访问 4、后来发现是不小心动了防火墙,导致docker异常,重启docker服务,然后再重启对应服务即可