首页 > 其他分享 >docker启动容器报错:Error response from daemon: driver failed programming external connectivity on endpoint

docker启动容器报错:Error response from daemon: driver failed programming external connectivity on endpoint

时间:2023-12-12 19:57:46浏览次数:29  
标签:iptables daemon endpoint connectivity -- driver failed 报错 docker

安装的docker启动报错如下:

Error response from daemon: driver failed programming external connectivity on endpoint nacos (2b0f4edff8f640559af9626936d1b38d965302ef525af483716e8e8c9121583e):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8848 -j DNAT --to-destination 172.17.0.2:8848 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1))

翻译一下意思就是:驱动程序无法在终结点nacos上编程外部连接

换一个mysql再试试

Error response from daemon: driver failed programming external connectivity on endpoint mysql (996617f3569d808a89e8285a1560f367386a38e0fc045929230788192e352aa7):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 3306 -j DNAT --to-destination 172.23.0.2:3306 ! -i br-e9b21b5b8b70: iptables: No chain/target/match by that name.
 (exit status 1))

还是一个样,推测一波大概意思也明白了,应该是端口映射或者网络出现了问题。本人猜测端口问题比较大,二话不说先重启一下docker

systemctl restart docker

再启动容易,诶!它好了!

标签:iptables,daemon,endpoint,connectivity,--,driver,failed,报错,docker
From: https://www.cnblogs.com/zhyp/p/17897680.html

相关文章

  • btoa atob 与 base64,以及btoa报错
    在JavaScript中,btoa和atob是两个用于Base64编码和解码的函数。下面是对这两个函数以及Base64的解释和代码示例:btoa函数:btoa(表示base64encode)将字符串转换为Base64编码的数据。它接受一个ASCII字符串参数,并返回经过Base64编码的字符串。b表示"binary",它......
  • vite编译为什么会报错“__vite-browser-external:node:path、fs、url...”
    当你在使用Vite打包时,遇到类似于`__vite-browser-external`的错误消息,通常是因为在代码中尝试导入浏览器不支持的模块。`__vite-browser-external`是Vite内部的一个机制,用于替换浏览器环境中无法直接访问的Node.js核心模块。例如,浏览器不具备文件系统访问能力,因此Node.......
  • 解决Python爬虫中Header报错的方法
    在使用Python编写爬虫时,有时会遇到Header报错的情况。本文将介绍常见的Header报错类型,并提供解决方法,帮助您顺利处理Python爬虫中的Header报错问题。当我们使用Python进行爬虫开发时,经常需要设置请求头(Header)来模拟浏览器发送请求。然而,有时可能会遇到一些与Header相关的报错。以下......
  • Python网络连接request报错:OSError: [Errno 113] No route to host
    报错:(pytorch)devil@Monster:~$huggingface-clilogin_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|......
  • gh-ost 报错 ERROR 1236 (HY000): A slave with the same server_uuid/server_id as t
    使用gh-ost 对表在线加索引时,第一次发生了下面的报错(使用gh-ost很长时间了,第一次遇到这个报错):[2023/12/1211:48:08][error]binlogstreamer.go:77closesyncwitherr:ERROR1236(HY000):Aslavewiththesameserver_uuid/server_idasthisslavehasconnectedtoth......
  • 【常见问题】Python报错SyntaxError: Non-ASCII character '\\xe7' in file
    错误原因:windows默认编码格式是GBK,macOS,linux是utf-8。当使用windows且代码内有GBK不支持的字符集的时候,就会报错。解决方法:方法一在python文件的顶部加上编码格式#-*-coding:utf-8-*-方法二在python3.7以及之后,使用utf-8模式https://peps.python.org/pep-0540/pyt......
  • Teamcenter AWC开发报错 ESLintError in plugin "gulp-eslint"
    1、npmrunrefresh没有报错,npmrunbuild会报错✖34problems(1error,33warnings)0errorsand12warningspotentiallyfixablewiththe`--fix`option.[08:47:54]'audit'erroredafter6.31s[08:47:54]ESLintErrorinplugin"gulp-eslint&quo......
  • soapui报错: CXF directory must be set in global preferences
    文章目录下载官网下载网盘下载配置soapui生成代码时报错CXFdirectorymustbesetinglobalpreferences下载需要下载apache-cxf。官网下载官网地址:https://www.apache.org/dyn/closer.lua/cxf/3.5.4/apache-cxf-3.5.4.zip点如下地址即可。Theobjectisinourarchive......
  • 报错:Client does not support authentication protocol requested by server; consider
    IDEA启动项目登录时显示用户或密码错误或者连接mysql数据库时报错原因:mysql8之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password,所以可以需要改变mysql的加密规则打开cmd窗口,登录mysql;mysql-uroot-h127.0.0.1-P3306-p......
  • vite5报错Uncaught ReferenceError: require is not defined的代替方案
    constfiles=import.meta.glob('./*.js',{eager:true})//会得到一个对象注意引入路径里绝对不能带有变量,会报错//{eager:true}是定义是否同步引入的参数,去掉会得到几个异步函数,根据自己的需求写就行了console.log(files["./env."+import.meta.env.MODE+".js"].default......