Public Repository

Last pushed: 8 months ago
Short Description
Standalone Mongod running in a container - WIP
Full Description

Container designed primarily to run mongoDB 3.2.8 in standalone mode. (Not part of a replica set)
startup command should look like the following. (More or less)
Keep in mind that if you are going to use the -m option on Docker run, you should also make a specific change to the wt cache config to be 60% of what you provision for -m.
The defaults in the mongod.conf can be overridden evidently if you use the -v option to mount the file from a host/volume based location.

docker run -d -m 2014m --name ops_db -h opsappdb.localhost -v /data -p=27018:27017 myalenti/mongod

For a no-frills docker run use the following.
Note it will not mount an external volume:

docker run -d -m 512m --name mongodb -h mongohost -p=27017:27017 myalenti/mongod:3.4

Docker Pull Command
Owner
myalenti

Comments (0)