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

能否支持下ARM架构 #1

Closed
sshuai0 opened this issue May 14, 2022 · 11 comments
Closed

能否支持下ARM架构 #1

sshuai0 opened this issue May 14, 2022 · 11 comments

Comments

@sshuai0
Copy link

sshuai0 commented May 14, 2022

N1 arm架构,DOCKER部署成功,自动停止报错standard_init_linux.go:211: exec user process caused "exec format error"

@xiaoxinpro
Copy link
Owner

可以是可以,但是我手头没有arm设备,没办法测试

@xiaoxinpro
Copy link
Owner

docker pull chishin/wol-go-web:dev
docker run -d --net=host --env PORT=端口号 chishin/wol-go-web:dev

帮忙测试以下,看看是否可以正常使用,无论如何希望可以给予反馈。

@SmallDS
Copy link

SmallDS commented May 20, 2022

docker pull chishin/wol-go-web:dev
docker run -d --net=host --env PORT=端口号 chishin/wol-go-web:dev

帮忙测试以下,看看是否可以正常使用,希望可以反馈。

在n1上试了下不行,容器刚运行就立马停止了

@xiaoxinpro
Copy link
Owner

麻烦提供以下你设备的ARM架构的版本信息,另外执行一下 docker images 提供一下镜像的信息。

@SmallDS
Copy link

SmallDS commented May 20, 2022 via email

@xiaoxinpro
Copy link
Owner

@SmallDS @sshuai0

更新了新版本的镜像,用下面的镜像再试一下:

docker pull chishin/wol-go-web:dev4
docker run -d --net=host --env PORT=端口号 chishin/wol-go-web:dev4

@SmallDS
Copy link

SmallDS commented May 20, 2022

@SmallDS @sshuai0

更新了新版本的镜像,用下面的镜像再试一下:

docker pull chishin/wol-go-web:dev4
docker run -d --net=host --env PORT=端口号 chishin/wol-go-web:dev4

我用的是n1 Armbian Linux 5.3.8-amlogic-flippy-11+版本 Docker Version: 20.10.12

下面是chishin/wol-go-web:dev4的日志
root@aml:~# docker logs 5c91a6b4c1981f20cef59484c7a384846725a02d4cc8c2abf38acc34d84b284e
standard_init_linux.go:228: exec user process caused: exec format error

@SmallDS
Copy link

SmallDS commented May 20, 2022

麻烦提供以下你设备的ARM架构的版本信息,另外执行一下 docker images 提供一下镜像的信息。

root@aml:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
chishin/wol-go-web dev4 28dcdd69f1dd 16 minutes ago 16.2MB

@xiaoxinpro
Copy link
Owner

@SmallDS @sshuai0

再试一下

docker pull chishin/wol-go-web:dev5
docker run -d --net=host --env PORT=端口号 chishin/wol-go-web:dev5

@SmallDS
Copy link

SmallDS commented May 22, 2022

docker run -d --net=host --env PORT=端口号 chishin/wol-go-web:dev5

可以的,实测可以用

@SmallDS
Copy link

SmallDS commented Oct 11, 2022 via email

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

No branches or pull requests

3 participants