How Docker helps to create a complex MongoDB setupSebastian Voss on the 10th April 2014 This article describes how to create a Mongo DB Sharded Cluster using Docker. We will go through the creation of Dockerfiles and instanciation of the differnt moving parts of the cluster (replica sets, config servers and routers). Create the DockerfilesFirst we need to create two Dockerfiles - one for mongod an