Produces a simple docker image to run MongoDB Ops Manager. Please consult the MongoDB documentation for the latest information about Ops Manager.
NOTE: the resulting container does not provide a MongoDB database for Ops Manager. A minimum of one MongoDB instance will be required, though a replica set is recommended. More advanced deployments are possible. Please consult documentation for details.
- Latest Version: 2.0.2.337-1
docker pull gradecam/mongodb-ops-manager
You must provide a database for the Ops Manager application. For simple trial installation, not recommended for production, you could simply link a database to the instance.
- A simple linked deployment:
docker run --name opsmgr-appdb -d mongo:3
docker run -d \
--name mongodb-opsmgr \
--link opsmgr-appdb:db \
gradecam/mongodb-ops-manager
- Provide your own properties file with a custom config
docker run -d \
--name mongodb-opsmgr \
-v /home/user/ops-manager/custom-app.properties:/opt/mongodb/mms/conf/conf-mms.properties \
gradecam/mongodb-ops-manager
After starting up the Ops Manager container you will need to wait 3-5 minutes for the application to startup.
After the application finishes bootstrapping itself you can open a browser to http://{DOCKER_HOST}:{OPS_MGR_PORT}
.
The default port is 8080
but can be changed by providing a different port when launching the container with the -p
parameter.
docker build ops-manager/