在高山linux上执行mongodb二进制文件 [英] Execute mongodb binaries on alpine linux
本文介绍了在高山linux上执行mongodb二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Alpine 64位Linux中运行二进制mongodb作为docker容器。但是当运行命令时: ./ mongodb
发生以下错误:
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.
为什么不能运行它?
推荐答案
如果您仍然需要使用一个包,那么现在有一个可以在测试库中使用,可以尝试一下。
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
这篇关于在高山linux上执行mongodb二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文