A simple mongo docker defintion for running mongod (2.6+)
docker run \
-d \
-v /data/mongodb:/data/db \
gekkie/docker-mongo \
--nojournal \
--quiet \
--noprealloc \
--smallfiles
You could even inject the configuration into the image in order to have a more personal touch. The above command will use a simple external host-directory for persistant storage and work as a development box.
All notable changes:
Content type
Image
Digest
sha256:5a95ee4f5…
Size
176.2 MB
Last updated
almost 11 years ago
docker pull gekkie/docker-mongo