How to set config file to percona-mongodb

by Meiram Chuzhenbayev   Last Updated December 29, 2017 06:00 AM

I have an percona/percona-server-mongodb image of mongo. I tried to mount my mongod.conf.

How to set config and run mongo with config file?

docker run --name mongo1 -v /opt/mongo/mongod3.conf:/etc/mongod.conf  -d percona/percona-server-mongodb

Related Questions

Enabling Encryption at Rest for MongoDB Generates Error

Updated November 15, 2018 00:00 AM

Percona XtraDb cluster auto increment

Updated April 19, 2018 07:00 AM

Percona-Cluster: backup and restore procedure

Updated June 10, 2015 03:00 AM

Automatic MySQL shutdown is RHEL7

Updated August 17, 2017 19:00 PM