Execute mongodb binaries on alpine linux

Rodrigo Luciano Gattermann picture Rodrigo Luciano Gattermann · Sep 22, 2015 · Viewed 12.5k times · Source

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?

Answer

jacks picture jacks · Jan 10, 2016

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/

echo 'http://dl-3.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories

apk upgrade --update

apk add mongodb