Docker Mongodb

Alternatives To Docker Mongodb
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Cheatsheets33,706
4 days ago84mitJavaScript
👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
Awesome Compose23,870
2 days ago7April 23, 2021112cc0-1.0HTML
Awesome Docker Compose samples
Immudb8,23515a day ago130August 25, 2022102apache-2.0Go
immudb - immutable database based on zero trust, SQL and Key-Value, tamperproof, data change history
a day ago270apache-2.0Svelte
An open-source & self-hostable Heroku / Netlify alternative.
a day ago282gpl-3.0Go
🔥 🔥 🔥 现代化、开源的 Linux 服务器运维管理面板。
2 days ago321agpl-3.0Shell
⛴ Docker image of Nextcloud
a month ago1February 27, 2018295otherCommon Lisp
Migrate to PostgreSQL in a single command!
2 days ago234gpl-2.0C++
Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
Dockertest3,504232723a day ago87May 25, 202218apache-2.0Go
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
Dbmate3,43218 days ago27March 25, 202216mitGo
:rocket: A lightweight, framework-agnostic database migration tool.
Alternatives To Docker Mongodb
Select To Compare

Alternative Project Comparisons


Docker Pulls Docker Image Size (latest by date) Docker Image Version (latest by date)


Git-Repository to build Docker containerimage for MongoDB.


If you find this image helpfull, so you can see here how you can help:

  • Send a pull request with your features and bug fixes
  • Help users resolve their issues.


Before reporting your issue please try updating Docker to the latest version and check if it resolves the issue. Refer to the Docker installation guide for instructions.

If that recommendations do not help then report your issue along with the following information:

  • Output of the docker version and docker info commands
  • The docker run command or docker-compose.yml used to start the image. Mask out the sensitive bits.

Getting started


Automated builds of the image are available on Dockerhub

docker pull mongocamp/mongodb:6.0.5

Alternatively you can build the image yourself.

docker build . --tag 'mongocamp/mongodb:dev';


Start MongoDB using:

docker run --publish 27017:27017 mongocamp/mongodb:6.0.5

Alternatively, you can use the sample docker-compose.yml file to start the container using Docker Compose


For MongoDB to persist the state of the container across shutdown and startup, you should mount a volume at the data directory. The container image use by default /var/lib/mongodb. You can cange the data directory with the Docker Environment Variable MONGO_DATA_DIR.

The Quickstart and docker-compose.yml Sample command or the Quickstart bash command already mounts a volume for persistence.

Environment Variables

Variable Default Value Informations
MONGO_DATA_DIR /var/lib/mongodb
MONGO_PORT 27017 Specifies the TCP port on which the MongoDB
MONGO_ROOT_PWD NONE If the param not equal NONE or "" the MongoDB authorization will enabled. The password of the MONGO_ROOT_USERNAME will be reseted on every container start.
MONGO_LOG STDOUT Enable Loging to LogPath. Default is the stdout of the docker container, but you can also use something like /var/log/mongodb/mongo.log
MONGO_LOG_PATH /var/log/mongodb Enable Loging to LogPath REPLACED BY MONGO_LOG
MONGO_STORAGEENGINE wiredTiger Value for the storageEngine parameter
MONGO_WIREDTIGER_CACHE_SIZE_GB NONE Value for the wiredTigerCacheSizeGB parameter
MONGO_MAX_CONNECTIONS NONE Value for the maxConns parameter if not equal NONE
MONGO_REPLICA_SET_NAME NONE If the param not equal NONE or "" set name for replSet replication options
MONGO_BINDING --bind_ip_all ip binding ip binding options
MONGO_EXTRA_ARGS You can use every mongod commandline option
MONGO_REPLICA_KEY generate random Used for communication between replica sets Replica Set to Keyfile Authentication
Popular Docker Projects
Popular Database Projects
Popular Virtualization Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Nosql Database