Dockerizing MongoDB on MacOS

less than 1 minute read

HOWTO - MongoDB in a Docker container on MacOS 10.10 Yosemite

This is a very short list of the steps to get a MongoDb running in a Docker container. I have simplified the steps into a simple startup script, but there is no magic here, just a bit more convenience.

Onetime setup

in your development session


you can now connect to the mongo instance on the IP given by the command boot2docker ip on port 27017 (the default port).


see also: