Pulling Docker Machine IP
docker-machine provides a simple way to get the IP of the host machine

mongo --host `docker-machine ip default` --port 27017


I'm using default here, since that's the name of the machine I'm using.