Last Updated: February 25, 2016
· bripkens

Start databases, CI systems and more in seconds

Did you ever needed to just start MongoDB for local development purposes? Or how about running Jenkins locally to test a new configuration option? If you are like me then you probably don't want to spin up expensive virtual machines and neither do you want to install all this stuff natively. Let me show you how to start MongoDB in seconds:

Install Docker and dock.

To install Docker on OS X simply use the boot2docker installer. Installating dock is super easy with Homebrew.

brew tap bripkens/dock
brew install dock

Run dock mongodb

$ dock mongodb
Starting mongodb (using /Users/ben/.dock-formulas/formulas/mongodb)
MongoDB started. Listening to 27017.


How about sonarqube for static code analysis? Run dock sonar!

dock makes it super easy to start services in Docker containers and thus saves you precious time. Give it a try and let me know what you think!