Created
April 18, 2019 09:12
-
-
Save MerleLiuKun/376ebd10b4b47fb618aa488404b06220 to your computer and use it in GitHub Desktop.
mongo db docker
This file contains hidden or 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
# run a simple mongo server | |
docker run --rm --name mymongo -p 27017:27017 -d mongo | |
# run mongo web | |
docker run --rm --name mymongo-express --link mymongo:mongo -p 8081:8081 -d mongo-express |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment