Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: 求arm架构镜像cmdb-ui、cmdb-api、cmdb-db、cmdb-cache #620

Open
SupRenekton opened this issue Sep 25, 2024 · 7 comments
Open
Assignees

Comments

@SupRenekton
Copy link

Contact Details

No response

feature is related to UI or API aspects?

No response

What is your advice?

希望能提供arm架构的四个镜像cmdb-ui、cmdb-api、cmdb-db、cmdb-cache,目前国产化的服务器大多是arm的架构,希望维易cmdb能提供arm架构的镜像

Version

newest

@pycook
Copy link
Collaborator

pycook commented Sep 25, 2024

@SupRenekton 2.4.12版本更新了 已支持

@trojan20161207
Copy link

cmdb-2.4.12# docker logs -f cmdb-db
exec /usr/local/bin/docker-entrypoint.sh: exec format error
cmdb-2.4.12# docker logs -f cmdb-cache
exec /usr/local/bin/docker-entrypoint.sh: exec format error

cmdb-2.4.12# docker image ls|grep cmdb-*
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-db 3.0 c20987f18b13 2 years ago 448MB
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-db 2.3 b32a508fc6c4 2 years ago 448MB
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-cache 2.3 a4ad7680b529 3 years ago 105MB
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-cache 3.0 aa4d65e670d6 3 years ago 105MB

M1pro arm架构上无法启动,请问是不是这个镜像默认是amd的架构呢?

@pycook
Copy link
Collaborator

pycook commented Sep 25, 2024

你删了image么,如果你以前已经pull了这个版本的话

@trojan20161207
Copy link

trojan20161207 commented Sep 25, 2024

root@hao-VMware20-1:~/cmdb-2.4.12# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-ui 2.4.12 c1a699508424 4 hours ago 106MB
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-api 2.4.12 172f15235aad 5 hours ago 682MB
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-db 2.3 b32a508fc6c4 2 years ago 448MB
registry.cn-hangzhou.aliyuncs.com/veops/cmdb-cache 2.3 a4ad7680b529 3 years ago 105MB

image image image

系统版本:Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-45-generic aarch64)
docker版本:
docker version
Client: Docker Engine - Community
Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:41:54 2024
OS/Arch: linux/arm64
Context: default

Server: Docker Engine - Community
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:41:54 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.7.22
GitCommit: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
runc:
Version: 1.1.14
GitCommit: v1.1.14-0-g2c9f560
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker-compose版本:
docker-compose version
Docker Compose version v2.29.7

刚刚清理了,并重新安装了,还是一样的问题,大佬看有空帮忙给修一下

@SupRenekton
Copy link
Author

你删了image么,如果你以前已经pull了这个版本的话

我和他也有一样的问题,cmdb-db和cmdb-cache这两容器启动不起来,
报错是:/usr/local/bin/docker-entrypoint.sh:exec format error
看着像是cmdb的依赖服务db和cache镜像可能还是amd64架构的,这两镜像是不是没在arm64上重新打包编译啊

@SupRenekton
Copy link
Author

你删了image么,如果你以前已经pull了这个版本的话
我们用的镜像版本是
cmdb-db:2.3
cmdb-cache:2.3

@trojan20161207
Copy link

trojan20161207 commented Sep 26, 2024

上边有镜像hash 对比一下便知 都是原版镜像

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants