Skip to content

Instantly share code, notes, and snippets.

@jewzaam
Last active August 29, 2015 14:10
Show Gist options
  • Save jewzaam/d6a81e35062ba0718454 to your computer and use it in GitHub Desktop.
Save jewzaam/d6a81e35062ba0718454 to your computer and use it in GitHub Desktop.
MongoDB single node in docker
# server
docker run --name mongo-single -d mongo --nojournal --oplogSize 10
# client
docker run -it --link mongo-single:mongo --rm mongo /bin/bash
mongo mongo:27017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment