I get 'Error: expected arch to be one of [amd64 armv7 arm64], got arm' but the CPU is armv7
Hey,
I have installed Coder with Docker on my Raspberry PI which has an armv7 architecture, but I get an error. (see screenshot)
![No description](https://cdn.answeroverflow.com/1194243679997657138/image.png)
![No description](https://cdn.answeroverflow.com/1194243680219967539/image.png)
54 Replies
<#1194243679838277642>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Which template are you using?
Docker
(@Atif )
The docker template uses an image that's niy available for armv7
You need to change it to an image compatible with armv7
the default docker template uses ubuntu official image that support armv7 (i can pull it from my rsp)
dockerfile is pre-built maybe?
I am trying to reproduce it. Wil update
hey @Cetus 🔛🔝, you should try manually replacing
data.coder_provisioner.me.arch
with "arvm7"
I think that the data.coder_provisioner.me.arch
value is not correctwhere ?
I do not have an RPi, but I tried reproducing it on an Oracle Cloud Arm64 VM. I was not able to reproduce it.
This looks like a bug where
data.coder_provisioner.me.arch
is not detecting the correct architecture of RPi.sorry, I forgot to mention
in your Terraform configuration (
main.tf
)i have arm32v7
where is located in docker?
sorry, it's located in the template
what method did you use to upload the template to your coder instance ?
Nothing, i use the defaut 'docker containers' template
i use them
![No description](https://cdn.answeroverflow.com/1198221429494251594/image.png)
@Phorcys