Public Repository

Last pushed: 2 years ago
Short Description
A mongo db instance
Full Description

Pre-requisites (if a db needs to be restored into this container)

Copy the mongo backed up folder into /opt/mongo/ . the below command assumes the backed up folder as dmp.

To Launch:
docker run -t -d -i --name mongodb -v /opt/mongo/dmp:/mongodmp mongodb:latest

To Restore the db: assuming the db is named dmp.
docker exec -t -i mongodb mongorestore --db dmp mongodmp/dmp

Docker Pull Command