Hey,
I’m trying to run mongoDB inside docker on a raspberry pi 4 - 8GB running Arch linux aarch64 image. However any time I try to run it, with something even as simple as : docker run --name some-mongo -d mongo
/usr/local/bin/docker-entrypoint.sh: line 392: 27 Illegal instruction (core dumped) “${mongodHackedArgs[@]}” –fork ]
As @Bingo_Bongo noted, the Raspberry Pi 4 CPU does not meet the current requirements for the MongoDB 5.0 binary packages:
You should be able to install MongoDB 4.4 binaries or alternatively you could build MongoDB 5.0 from source with an older architecture target (cross-compiling from a desktop machine is recommended). See the referenced forum discussion topic for more information.