mongo icon indicating copy to clipboard operation
mongo copied to clipboard

Docker Official Image packaging for MongoDB

Results 14 mongo issues
Sort by recently updated
recently updated
newest added

We are seeing below cves with  some components of mongodb that are packaged into container  image.   Just want to reach out to community and see how these cves can be...

This issue (I would call it a bug but perhaps it is a feature request) is that users would like to a la `docker-compose.yml` and/or environment variables be able to...

Added MONGO_USERNAME & MONGO_PASSWORD > Credit goes to: https://www.shapeblock.com/docker-mongodb/

I am simply running `docker-compose up -d` using the compose file found on the docker page of mongo (https://hub.docker.com/_/mongo/) under the title **"... via docker stack deploy or docker-compose"** docker-compose.yml:...

when any script in /docker-entrypoint-initdb.d/* fails the whole docker-entrypoint.sh fails but without shutting down the temporary forked mongod https://github.com/docker-library/mongo/blob/9db9e3d4704f5d963e424a3894fa740b8ce4ea70/4.4/docker-entrypoint.sh#L304 ``` function shutdown { "${mongodHackedArgs[@]}" --shutdown rm -f "$pidfile" } #...

Hi, I'm running the mongo image on a NUMA-enabled machine, and I get following warning from logs when MongoDB is starting: > WARNING: You are running on a NUMA machine....

Request
docs

**Step to reproduce** `docker run --rm -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=root mongo:5.0.3 mongod --shardsvr --replSet a` or `docker run --rm -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=root mongo:5.0.3 mongod --configsvr --replSet a` **Actual result**...

question

Currently, Dockerfile declares VOLUME for /data/db, /data/configdb: https://github.com/docker-library/mongo/blob/32e5645325ae5dff2ae6f934049cbd6b4635aec0/4.1/Dockerfile#L87 This is sub-optimal, because some workflows in inherited images become excessively complicated. For example, seeding a database from a dump now requires...

Request

Basically, I'm trying to configure shards when running `mongos`: ```js sh.addShard("rs1/db") ``` But the scripts in `docker-entrypoint-initdb.d` only run for `mongod`: https://github.com/docker-library/mongo/blob/59fba668ae47e3ec7f7917a56db4f94d6d774765/3.6/docker-entrypoint.sh#L192-L318 Does it make sense to run for `mongos`...

Request