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:
docker pull gekkie/docker-mongo:latest