Files
deploy.stack/portainer-ce/readme.md
moqiruyi 8e49d0c152 docs(portainer-ce): 更新readme中的版本说明和历史记录
将原有的重点说明重构为更清晰的版本说明表格和历史记录,更新了最新的Portainer版本支持情况,并标记旧的适配方案为废弃
2026-05-26 11:17:57 +08:00

40 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## portainer-ce
**版本说明:**
| 版本类型 | 当前版本 | Docker >= 29.0.0 支持 |
|---------|----------|----------------------|
| LTS | 2.39.2 | ✅ 支持 |
| STS | 2.40.0 | ✅ 支持 |
### 历史记录
- **2025-11-30 之前**LTS 2.33.4 和 STS 2.35.0 不支持 Docker >= 29.0.0,需要通过以下方式解决:
##### 方案1已废弃
在 docker 的 service 文件中添加:
```
## 找到 docker.service 文件 `systemctl status docker` 会显示 docker.service 文件的完整路径
### 在 [Service] 段内添加
[Service]
Environment=DOCKER_MIN_API_VERSION=1.24
### 保持文件
### 重启 docker 服务
systemctl daemon-reload
systemctl restart docker
```
##### 方案2已废弃
在 `/etc/docker/daemon.json` 中添加:
```
{
"min-api-version": "1.24"
}
```
最后重启 docker 服务:
```
systemctl restart docker
```
- **2025-11-30 起**LTS 2.33.5 和 STS 2.36.0 发布,**原生支持** Docker >= 29.0.0**无需任何配置**。