Public Repository

Last pushed: 3 years ago
Short Description
MongoDB 2.6 with authentication and full OS init sequence
Full Description

This image is based on phusion/baseimage so it has proper boot sequence and mongod process supervision. It also supports MongoDB authentication.

phusion/baseimage is Ubuntu 14.04 LTS based image with runit init, cron, syslog-ng, and sshd.


docker run -ti --rm \
    -p 30000:27017 \ # or just plain -P
    -v /srv/mongo:/data/db \ 
    -e MONGOD_OPTIONS='--nojournal --smallfiles --noprealloc --auth' \
    -e MONGO_ROOT_PASSWORD=qwerty \
    arkadi/mongodb \
    /sbin/my_init -- bash -l

Source repository on GitHub

Docker Pull Command