This repo uses the mongodb bitnami container image located here
Updates that image following the instructions in the ZCube/bitnami-compat README.md file and this gist
./build.sh <container-registry> <image-name>
In my case I used the following command:
./build.sh xavidop mongodb
And:
./build.sh ghcr.io/xavidop mongodb
Here are some examples of how to use the image:
You can run the image with the following command:
docker run -d --name mongodb -p 27017:27017 <container-registry>/<image-name>:7.0
Example:
docker run -d --name mongodb -p 27017:27017 ghcr.io/xavidop/mongodb:7.0
or
docker run -d --name mongodb -p 27017:27017 xavidop/mongodb:7.0
If you are using the Bitnami Helm Chart for MongoDB, you can use the following values:
image:
registry: ghcr.io
repository: xavidop
tag: mongodb
Example:
image:
repository: xavidop/mongodb
tag: '7.0'
or
image:
registry: ghcr.io
repository: xavidop/mongodb
tag: '7.0'
- MongoDB 7.0.14
- Bitnami chart tested with 15.6.18
- The
bitnami-compat
repo is a fork of thebitnami
repo with the necessary changes to make the image compatible with the ARM platform and without Bitnami's StackSmith binaries. - This image has been only tested on Macbook M chips using Docker Desktop for Mac and Kind Kubernetes clusters.
- This image is not intended for production use, it is only for development purposes.
- Sometime the build process fails, just run the build command again.
- This is not an active project, it is just a proof of concept.