Sign inSign up

pwcdigital/mongodb

By pwcdigital

•Updated over 10 years ago

A mongo db instance

Image
0

1.3K

pwcdigital/mongodb repository overview

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

Tag summary

Content type

Image

Digest

Size

204.5 MB

Last updated

over 10 years ago

docker pull pwcdigital/mongodb