Can't run mongodb-memory-server on Linux Alpine
See original GitHub issueI got the error:
Cannot determine version string for {"os":"linux","dist":"Alpine Linux","release":"3.4.6"}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:16 (13 by maintainers)
Top Results From Across the Web
Integration with Docker | mongodb-memory-server
This Guide will show how mongodb-memory-server can be used with Docker & dockerfiles.
Read more >Node Docker Build and Production Container Best Practices
I can run all of my tests in a Docker container using a Node base image, but for production I want to use...
Read more >How to install MongoDB Server on Alpine Linux - H2S Media
Learn the commands to install MongoDB Server on Alpine Linux using command terminal and running its service in the background.
Read more >mongodb-memory-server - npm
Every MongoMemoryServer instance creates and starts fresh MongoDB server on some free port. You may start up several mongod simultaneously.
Read more >mongodb-memory-server-global-3.6 - Yarn
The server will allow you to connect your favorite ODM or client library to the MongoDB server and run integration tests isolated from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am using this image. It is an image that I have created with the needed environment variables built right in. It is quite fast since it doesn’t need any binaries to be downloaded and is only 158 MB. Here is the Dockerfile. Enjoy!
So if Mongo team makes alpine build we can easily add it to this package https://www.mongodb.org/dl/linux
An opened issue in MongoDB: https://jira.mongodb.org/browse/SERVER-36790