前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >解决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
7450
发布2024-03-14 15:45:35

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 条评论
热度
最新
推荐阅读
相关产品与服务
容器服务
腾讯云容器服务(Tencent Kubernetes Engine, TKE)基于原生 kubernetes 提供以容器为核心的、高度可扩展的高性能容器管理服务,覆盖 Serverless、边缘计算、分布式云等多种业务部署场景,业内首创单个集群兼容多种计算节点的容器资源管理模式。同时产品作为云原生 Finops 领先布道者,主导开源项目Crane,全面助力客户实现资源优化、成本控制。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档