Created
July 19, 2018 19:12
-
-
Save xpepermint/1abe59aae747a10d710f683d65e43aa2 to your computer and use it in GitHub Desktop.
MongoDB setup using Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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