• 微信公众号:美女很有趣。 工作之余,放松一下,关注即送10G+美女照片!

docker: Error response from daemon: driver failed programming external connectivity on endpoint nginx01

开发技术 开发技术 2天前 8次浏览

docker容器做端口映射报错

docker: Error response from daemon: driver failed programming external connectivity on endpoint nginx01 (4c843d5ed27888f58179a655ebab734b978f027227583d6b4d203e3049fdbe4e): (iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0/0 –dport 3344 -j DNAT –to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.

原因:
docker服务启动时定义的自定义链DOCKER被清除

解决方法:
重启即可
systemctl restart docker


喜欢 (0)