首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >解决docker启动容器报错: iptables: No chain/target/match by that name

解决docker启动容器报错: iptables: No chain/target/match by that name

原创
作者头像
用户11019631
发布2024-03-14 15:45:35
发布2024-03-14 15:45:35
1.9K0
举报

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

重点看iptables: No chain/target/match by that name.

和iptables有关

我是使用service docker restart 或 systemctlrestart docker 能够正常启动容器

或者关闭网关(防火墙)

systemctl stop firewalld

systemctl stop iptables

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档