当前位置: 首页 > 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.jsqmd.com/news/41400/

相关文章:

  • 省赛游记
  • SQL注入之上传getshell(sqli-labs/less7)
  • 高级语言程序设计第五次 作业
  • 思考题:矩阵拆分行列式
  • 未知与已知---思考学习进度
  • Flash AS3 ComboBox组合框点击下拉报错并且无法弹出列表
  • 思考题:一类sum转delta的贡献处理方式
  • KEYDIY KD ZB07-5 5-Button Universal Smart Remote Key 5pcs – Keyless Entry for European/American Cars
  • 20234320 2025-2026-1 《网络与系统攻防技术》实验五实验报告
  • Legendre公式
  • 字的bi-gram是个馊主意么?
  • 在Caddy 上使用php-fpm
  • KEYDIY KD ZB09 3-Button Universal Audi Smart Key PCB (5pcs/lot) - For Repair Shops Owners
  • 2025年浙江雅思培训机构评测TOP5:深耕本土的优质教育资源推荐
  • 动态调试练习题WP
  • Godot学习第一天
  • 用递归的方式解决n阶幻方
  • imm docker 备份/迁移
  • abc326-d 题解
  • 搭建一个CTF比赛平台的经过
  • 11_15
  • 四、Agent原理与ReAct 架构详解 ——《动手学Agent应用开发》学习心得
  • InterStellar
  • 三、Agent 应用开发与落地全景 ——《动手学Agent应用开发》学习心得
  • 每日反思(2025_11_15)
  • 业财一体化五步法 - 智慧园区
  • 猫树
  • 『回忆录』高二上半期考试
  • 多项式牛顿迭代
  • 轮胎内喷涂优惠工具趋势分析报告