I have installed docker 1.9 on my OSX environment. I used…
Following is the docker file that I have created to dockerize mongo db.