dyrector-io / dyrectorio

dyrector.io is a self-hosted continuous delivery & deployment platform with version management.
https://dyrectorio.com
Apache License 2.0
1.19k stars 92 forks source link

arm64 Support #985

Open gijsmin opened 3 weeks ago

gijsmin commented 3 weeks ago

Trying dyrectorio for the first time and it fails when setting up a node (Hetzner):


Detected: Linux
Stopping existing dyrector.io agent (dagent)...
dagent
dagent
Removing existing dyrector.io agent (dagent)...
dagent
Error response from daemon: No such container: dagent
Installing dyrector.io agent (dagent)...
stable: Pulling from dyrector-io/dyrectorio/agent/dagent
Digest: sha256:653c50fe8333d116c09728b6c476e24d4fcd6389be85af85f5da323df2e10ce3
Status: Image is up to date for ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable
ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2ac92e9f3d3a6925625fade23d7c7d0d7b32e694897c016f9cf4119b427d15a0```
polaroi8d commented 2 weeks ago

Hi @gijsmin, we have arm64 support. What was the process you used to get the following error message?

gijsmin commented 1 week ago

@polaroi8d Just the regular command given by the setup steps. I've used a Hetzner VM

curtisy1 commented 5 days ago

I can reproduce but I think this is something that either docker/podman or the ghcr mess up. Can you try doing a docker pull with the arm64 digest explicitly specified, @gijsmin? You can find those here

polaroi8d commented 2 days ago

@gijsmin I tried to reproduce it with my M1 Mac but It works fine. Here is my log:

Detected: Mac OS X
Installing dyrector.io agent (dagent)...
stable: Pulling from dyrector-io/dyrectorio/agent/dagent
fa614bdc5d4d: Pull complete
e8d9a567199d: Pull complete
66337f1ca50f: Pull complete
Digest: sha256:3398d1f7281c35114149ff7a49889e79025e4818f0fcb54e164330eabb71eeb9
Status: Downloaded newer image for ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable
ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable
efdfa391b088bd8736f60bce21c772289c585f3c567dd90cb6b4da7cc71c3cdf

Set up the agent in the app.dyrectorio.com site. I just wanted to let you know that it works fine for me. I'll try to reproduce.