mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 05:05:57 +03:00
[GH-ISSUE #118] [Bug]: 镜像拉取后容器因平台不兼容导致无法运行 #86
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DeepClaude#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dandandujie on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/ErlichLiu/DeepClaude/issues/118
提交前确认
发生了什么?
在作者更新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
”
复现步骤
@dandandujie commented on GitHub (May 28, 2025):
我通过重新git clone 项目仓库再进行sudo docker build -t erlichliu/deepclaude:x86_64 **.来重新构建符合x86平台的镜像并启动容器,成功了
@ErlichLiu commented on GitHub (May 28, 2025):
@dandandujie 非常感谢你的反馈,确实是我在编译的时候选择了 Linux 平台,我们会在下次编译时追加最新的平台 + 标签,方便大家按照自己的平台拉取
@ErlichLiu commented on GitHub (May 29, 2025):
已经更新最新的 Docker Image,构建了多平台兼容的 Docker Image,拉取会自动生效,查看 README.md 即可跟随拉取运行最新镜像即可。