I got some new Raspberry Pi 4 with 8GB ram to replace some mini servers that I have in my office network.
Normally I use the Ubuntu Server 22.04 (jammy) on my mini servers and ddev works well. Unfortunatelly this is not the case with the same Ubuntu inside of my new Pi. I was able to install the docker and the mkcert and both are running well but, when I try to install the ddev, I just got the message "Sorry, your machine architecture armv7l is not currently supported."
Am I doing something wrong or there’s no port to this set up?
Install the ddev using apt and the install script as well. Both give me the same message.
Thanks
2
Answers
I’ve been running DDEV on a Raspberry Pi for years, see https://ddev.com/blog/watch-ddev-local-on-arm64-raspberry-pi/
Raspberry Pi is an arm64 processor, so you need to use the arm64 version of DDEV. You can use the linux arm64 version from https://github.com/ddev/ddev/releases
But you didn’t say how you were trying to install DDEV… Both
apt install ddev
and the install script should work fine.Here’s what I see with
arch
anduname -a
on my Pi running Ubuntu 22.04 Jammy:Linux treats 32-bit ARM and 64-bit ARM as separate architectures. 32-bit appears as
armhf
,armv7
,aarch32
, etc. 64-bit is usually calledarm64
oraarch64
. The Raspberry Pi 4’s CPU supports both modes, but you have to select one or the other when you install your operating system.So it looks like you installed a 32-bit ARM version of Ubuntu, but ddev only supports 64-bit ARM. Thus you’ll have to reinstall the operating system using an
arm64
install image, and then you should be able to install ddev.