akolosov / docker-mongodb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Docker container for MongoDB 3.x.x with ability to form cluster

Usage

Uses the ability in recent Docker versions to set up hosts entries to locate a node to cluster with. For convenience sake, the node is named master.

Run

docker run -d -h mongodb --name mongodb -p 27017:27017 akolosov/mongodb <mongodb options>

About


Languages

Language:Shell 100.0%