I'm trying to run the binary mongodb in Alpine 64bit Linux for a docker container. But when running the command: ./mongodb
the following error occurs:
bash-4.3 # ./mongod
bash: ./mongod: No such file or directory.
For what reason it can not run it?
Because the binary distribution of MongoDB is linked against glibc, whereas Alpine Linux uses another C library:
So until someone builds an Alpine Linux package for MongoDB, your only option is to compile it yourself.
If you are still needing to use a package then there is now one available in the testing repository you can have a try with.
http://dl-3.alpinelinux.org/alpine/edge/testing/x86_64/