Docker container for MongoDB 3.x.x with ability to form cluster
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.
docker run -d -h mongodb --name mongodb -p 27017:27017 akolosov/mongodb <mongodb options>