Sign inSign up

arkadi/mongodb

By arkadi

•Updated almost 11 years ago

MongoDB 2.6 with authentication and full OS init sequence

Image
1

8.9K

arkadi/mongodb repository overview

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⁠.

Usage:

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⁠

Tag summary

Content type

Image

Digest

sha256:7d4ede112…

Size

203.8 MB

Last updated

almost 11 years ago

docker pull arkadi/mongodb