首页 > 系统相关 >docker: Error response from daemon: driver failed programming external connectivity on endpoint ngin

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

时间:2022-08-30 20:12:25浏览次数:67  
标签:iptables daemon endpoint failed driver connectivity nginx01 docker

docker容器做端口映射报错
docker: Error response from daemon: driver failed programming external connectivity on endpoint nginx01 (7c843d5ed27818f58179a567ebab734b978f027227583d6b4d253e3049fdbe4e): (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

标签:iptables,daemon,endpoint,failed,driver,connectivity,nginx01,docker
From: https://www.cnblogs.com/hlmy/p/16640644.html

相关文章