Skip to content

Mongodb 7 container image compatible with Bitnami helm charts

Notifications You must be signed in to change notification settings

xavidop/mongodb-7-bitnami

Repository files navigation

Container Image for Mongo 7 working with bitnami charts

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 the image

./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

Usage

Here are some examples of how to use the image:

Docker

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

Bitnami Helm Chart

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'

Published versions

Versions

  • MongoDB 7.0.14
  • Bitnami chart tested with 15.6.18

Notes

  • The bitnami-compat repo is a fork of the bitnami 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.