(iptables failed: iptables --wai
2020-08-04 本文已影响0人
一位先生_
启动docker容器时报错:
[root@iZ94jjqovroZ ~]# docker start appupdate
Error response from daemon: driver failed programming external connectivity on endpoint appupdate (826a5352ac51873c90e454713d191c820b2607ee00209aa9ff11e8a805f8c977): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 192.168.0.2:8080 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1))
Error: failed to start containers: appupdate
解决方案:
image.png
重启docker:
systemctl restart docker
重启docker之后 再去开启容器,完美解决,只是小问题而已!!!