在docker中启动容器时,报错
docker: Error response from daemon: driver failed programming external connectivity on endpoint mynginx (0224a95e250492e84e9da5d6c169043701ca3f6a2072ab6a4b7f0129661de0ea): (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.
关闭防火墙
systemctl stop firewalld && systemctl disable firewalld
再重新启动docker就可以了
systemctl restart docker
宠物免费领养小程序,欢迎来踩