0
mongodb-docker/README.md
2025-04-11 18:57:26 +03:00

2.3 KiB

mongodb-docker

Docker image of MongoDB database.

Goal

Since version 5, MongoDB supports only processors with AVX instructions extensions.
If you try to run it on an old processor, then you'll get an error like below:

/opt/bitnami/scripts/libos.sh: line 346:    58 Illegal instruction     (core dumped) "$@" > /dev/null 2>&1

So, the goal of the project is to provide the ability to run an application on generic x86-64 architecture. However, the build target for version 8 are processors which support SSE4.2.

Images

Our images are based on Bitnami's and published in Quay, GHCR, AWS and Harbor registries.

They also contain the healthcheck utility written in Rust.

Usage

You can use it in Docker as simple as:

$ docker run -d quay.io/flakybitnet/mongodb-server:<version>
$ docker run -d ghcr.io/flakybitnet/mongodb-server:<version>
$ docker run -d public.ecr.aws/flakybitnet/mongodb/server:<version>
$ docker run -d harbor.flakybit.net/mongodb/server:<version>

Binaries

Binaries are compiled by following the instruction and are available there.

Source

Source code are available at Gitea and mirrored to GitHub.

  1. MongoDB Platform Support
  2. Mongo 5.0.0 crashes but 4.4.6 works
  3. MongoDB v5.0 requires CPU AVX instructions
  4. libos.sh: line 344 error when installing ReplicaSet
  5. mongodb can't be installed by helm install
  6. Bitnami MongoDB
  7. MongoDB Rust Ping
  8. MongoDB Tools