failed to create network error response from daemon filed to setup ip tables问题

简介: failed to create network error response from daemon filed to setup ip tables问题

问题

今天在环境上搭建平台,执行docker-compose up -d 报错

Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-b649822bbcff -j RETURN: iptables: No chain/target/match by that name. (exit status 1))

如下图
image.png

方法

这是因为在启动docker的时候防火墙做了策略,如果容器在运行中,停止防火墙,在操作容器就会报这个错误,我们可以重启docker解决此问题

systemctl restart docker.service
然后
docker-compose up -d
相关文章
|
网络安全 Docker 容器
ptables failed: iptables --wait -t filter -A DOCKER 问题解决
ptables failed: iptables --wait -t filter -A DOCKER
ptables failed: iptables --wait -t filter -A DOCKER 问题解决
|
4月前
|
人工智能 JSON 自然语言处理
干货!三款顶流大开源模型深度对比:谁才是中文场景下的定制化之王?
本文深入解析大模型定制化路径,从“通才”到“专才”的关键跃迁。通过对比Llama 3、Qwen 2.5与Mistral在中文电商评论情感分析中的表现,揭示模型架构、语料基因与量化技术对效果的影响,结合LoRA/QLoRA等高效调优方法,为开发者提供选型指南与实战框架,助力低成本实现精准AI落地。
901 4
|
数据采集 Prometheus 监控
监控利器之Prometheus基于Blackbox_exporter监控服务的端口
监控利器之Prometheus基于Blackbox_exporter监控服务的端口
1130 0
|
Kubernetes Docker 容器
Job for docker.service failed because the control process exited with error code.
Job for docker.service failed because the control process exited with error code.
3675 0
|
存储 人工智能 NoSQL
拆解LangChain的大模型记忆方案
之前我们聊过如何使用LangChain给LLM(大模型)装上记忆,里面提到对话链ConversationChain和MessagesPlaceholder,可以简化安装记忆的流程。下文来拆解基于LangChain的大模型记忆方案。
拆解LangChain的大模型记忆方案
|
网络协议 jenkins 持续交付
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
5810 0
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
|
人工智能 数据安全/隐私保护
|
运维 网络安全 Docker
docker报错ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
docker报错ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule
1606 0
|
缓存 Linux Perl
CentOS7换yum源
CentOS是Linux系统里最常用的一种,CentOS7的yum源默认是国外的源,相较于国内源,网络连接不够稳定,下载速度较慢,因此我们常常把下载好的CentOS7换源为国内的yum源,本篇文章将介绍如何更换CentOS7的yum源为国内yum源,以阿里云的源为例。
10827 2