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

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