[GH-ISSUE #118] [Bug]: 镜像拉取后容器因平台不兼容导致无法运行 #86

Closed
opened 2026-02-27 01:56:09 +03:00 by kerem · 3 comments
Owner

Originally created by @dandandujie on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/118

提交前确认

  • 我已经搜索过现有的 issues,包括已经 close 的 issue,确认没有重复报告同样的问题
  • 我已经阅读了文档,确认这是一个缺陷而不是使用问题
  • 我已经在最新版本中验证了这个问题仍然存在

发生了什么?

在作者更新dockerhub的镜像后,我尝试拉取erlichliu/deepclaude:latest镜像,成功拉取但创造容器却无法成功运行。在1panel界面是出现“exec /usr/local/bin/python: exec format error”报错,在服务器日志可以看到“The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested

复现步骤

Image
Image

Originally created by @dandandujie on GitHub (May 28, 2025). Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/118 ### 提交前确认 - [x] 我已经搜索过现有的 issues,包括已经 close 的 issue,确认没有重复报告同样的问题 - [x] 我已经阅读了文档,确认这是一个缺陷而不是使用问题 - [x] 我已经在最新版本中验证了这个问题仍然存在 ### 发生了什么? 在作者更新dockerhub的镜像后,我尝试拉取erlichliu/deepclaude:latest镜像,成功拉取但创造容器却无法成功运行。在1panel界面是出现“exec /usr/local/bin/python: exec format error”报错,在服务器日志可以看到“The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested ” ### 复现步骤 ![Image](https://github.com/user-attachments/assets/9149e351-321c-4589-94de-a60b4ddae9ac) ![Image](https://github.com/user-attachments/assets/520630b3-2c8f-4048-8748-677b23cbd4ab)
kerem 2026-02-27 01:56:09 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dandandujie commented on GitHub (May 28, 2025):

我通过重新git clone 项目仓库再进行sudo docker build -t erlichliu/deepclaude:x86_64 **.来重新构建符合x86平台的镜像并启动容器,成功了

<!-- gh-comment-id:2915528993 --> @dandandujie commented on GitHub (May 28, 2025): 我通过重新git clone 项目仓库再进行sudo docker build -t erlichliu/deepclaude:x86_64 **.来重新构建符合x86平台的镜像并启动容器,成功了
Author
Owner

@ErlichLiu commented on GitHub (May 28, 2025):

@dandandujie 非常感谢你的反馈,确实是我在编译的时候选择了 Linux 平台,我们会在下次编译时追加最新的平台 + 标签,方便大家按照自己的平台拉取

<!-- gh-comment-id:2915539060 --> @ErlichLiu commented on GitHub (May 28, 2025): @dandandujie 非常感谢你的反馈,确实是我在编译的时候选择了 Linux 平台,我们会在下次编译时追加最新的平台 + 标签,方便大家按照自己的平台拉取
Author
Owner

@ErlichLiu commented on GitHub (May 29, 2025):

已经更新最新的 Docker Image,构建了多平台兼容的 Docker Image,拉取会自动生效,查看 README.md 即可跟随拉取运行最新镜像即可。

<!-- gh-comment-id:2919715020 --> @ErlichLiu commented on GitHub (May 29, 2025): 已经更新最新的 Docker Image,构建了多平台兼容的 Docker Image,拉取会自动生效,查看 README.md 即可跟随拉取运行最新镜像即可。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DeepClaude#86
No description provided.