Skip to content

Instantly share code, notes, and snippets.

@xpepermint
Created July 19, 2018 19:12
Show Gist options
  • Save xpepermint/1abe59aae747a10d710f683d65e43aa2 to your computer and use it in GitHub Desktop.
Save xpepermint/1abe59aae747a10d710f683d65e43aa2 to your computer and use it in GitHub Desktop.
MongoDB setup using Docker
docker run -d \
--name mongo \
-p 27017:27017 \
-v ~/.docker/machine/volumes/mongo/4/data:/data/db \
mongo:4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment