Shiishii
Shiishii
CCoder.com
Created by tholeb on 1/7/2024 in #help
Exec format error on pod (ARM arch)
The following logs is on a pod running on an amd64 machine when coder pod is on an arm64 :
+ curl -fsSL --compressed https://code.example.com/bin/coder-linux-arm64 -o coder
+ break
+ chmod +x coder
+ [ -n ]
+ export CODER_AGENT_AUTH=token
+ export CODER_AGENT_URL=https://code.example.com/
+ exec ./coder agent
/bin/sh: 89: exec: ./coder: Exec format error
+ curl -fsSL --compressed https://code.example.com/bin/coder-linux-arm64 -o coder
+ break
+ chmod +x coder
+ [ -n ]
+ export CODER_AGENT_AUTH=token
+ export CODER_AGENT_URL=https://code.example.com/
+ exec ./coder agent
/bin/sh: 89: exec: ./coder: Exec format error
11 replies
CCoder.com
Created by tholeb on 1/7/2024 in #help
Exec format error on pod (ARM arch)
If the coder pod is running on amd64 then every workspaces runnint on arm64 won't
11 replies
CCoder.com
Created by tholeb on 1/7/2024 in #help
Exec format error on pod (ARM arch)
So if the coder pod is running on an arm64 machine, every workspaces running on an amd64 just won't start because of exec format error
11 replies
CCoder.com
Created by tholeb on 1/7/2024 in #help
Exec format error on pod (ARM arch)
I think I have the same error. I have a template which can work on arch ARM64 and AMD64. But it seems the data.coder_provisioner.me.arch give me the arch of the coder pod and not the one where the workspace is running.
11 replies