Docker容器做端口映射报错
docker: Error response from daemon: driver failed programming external connectivity on endpoint lamp3 (46b7917c940f7358948e55ec2df69a4dec2c6c7071b002bd374e8dbf0d40022c): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 86 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
解决方法
docker服务启动时定义的自定义链DOCKER被清除
重启即可systemctl restart docker
12-17
4833
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-09
5万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-25
343
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-25
2010
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-23
6222
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-15
2993
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-13
132
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)