3.6.2
,3.6
,3
,latest
(3.6/Dockerfile)
MongoDB (from "humongous") is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. Released under a combination of the GNU Affero General Public License and the Apache License, MongoDB is free and open-source software.
This image embed rocksdb
next to wiredTiger
and mmapv1
storage engines.
using config file
docker run -d -p 27017:27017 khezen/mongo:latest
docker run -d -p 27017:27017 -v /data/mongo:/data/db -v /etc/mongo:/etc/mongo khezen/mongo:latest
docker run -d -it -p 27017:27017 khezen/mongo:latest "mongod --config etc/mongo/config.yml"
using command and options
docker run -d -it -p 27017:27017 -v /data/mongo/shard1:/data/db khezen/mongo:latest "mongod --port 27017 --shardsvr --replSet shard1 --dbpath /data/db"
start with this config file by default. For more configuration options have a look at the documentation
The image embed the following binaries:
- mongo
- mongod
- mongos
- mongoperf
- bsondump
- mongoimport
- mongoexport
- mongodump
- mongorestore
- mongostat
- mongofiles
- mongotop
- mongoreplay
If you have any problems with or questions about this image, please ask for help through a GitHub issue.