Coder.comC
Coder.com3y ago
10 replies
tholeb

Exec format error on pod (ARM arch)

Hello, I installed Coder (using kube) on a rasp, but when I create a workspace (using a kube template), one of my pods ends with exec format error. I guess it comes from the image being compiled for x86 and not ARM. Is there any image that I can use/find that supports ARM arch ? If not, where can I find the sources to compile the image into ARM ?

Thanks
Solution
If Coder (coder provisioner) is running on an ARM64 machine data.coder_workspace.me.arch will return arch64.
But as you wish to have your workspaces on another machine you should not use this but set the arch of coder_agent resource to correct value i.e. AMD64.
Was this page helpful?