当前位置: 首页 > news >正文

解决Portainer在Docker更新后无法连接local环境

原因

Docker API更新导致Portainer无法链接local环境,提示Environment local is unreachable

解决方法

方案来自(Docker 29 API Changes Breaking Changes

编辑docker.service:

systemctl edit docker.service

添加DOCKER_MIN_API_VERSION字段:

### Anything between here and the comment below will become the contents of the drop-in file[Service]
Environment=DOCKER_MIN_API_VERSION=1.24### Edits below this comment will be discarded

重启docker

sudo systemctl restart docker

再次查看Portainer等服务,恢复正常。

http://www.rkmt.cn/news/50744.html

相关文章:

  • 省赛游记
  • Flash AS3 ComboBox组合框点击下拉报错并且无法弹出列表
  • 思考题:一类sum转delta的贡献处理方式
  • Legendre公式
  • KEYDIY KD ZB09 3-Button Universal Audi Smart Key PCB (5pcs/lot) - For Repair Shops Owners
  • Universal Reliable KEYDIY KD ZB14-4 4-Button Honda Smart Remote Key (5pcs/lot)
  • 三、Agent 应用开发与落地全景 ——《动手学Agent应用开发》学习心得
  • django-approval-workflow
  • Go 语言实现简单的文字识别(OCR)
  • 路径计数与反射容斥
  • AtCoder Beginner Contest 432 ABCDEG 题目解析
  • fireworks
  • C++篇(13)计算器实现 - 指南
  • 动态规划实践:数字三角形问题分析
  • 牛客101:链表 - 教程
  • LNCPC 2025 游寄
  • Python 一维数据、二维数据及 CSV 文件操作全解析(附实例)
  • 银行核心账户体系、账务设计、会计核心(整合版)
  • 实用指南:开源 Linux 服务器与中间件(七)数据库--MySQL
  • 版本控制与GitLab完整实践指南 - 指南
  • 利用Myo臂环采集肌电信号和角速度来建立实时手势识别
  • [MySQL] 基础操控
  • 做题笔记25
  • AI重塑地产数字化:数据驱动下的技能落地与效率革命
  • 一种可以通过人体电磁场感受宇宙空间电磁场的装置
  • Access-Control-Allow-Origin 在企业中的用法
  • VUE_basic - Ref
  • 详细介绍:MongoDB 自动化脚本安装方案
  • 2025-11-15
  • Pandas - read_html()