Created
February 23, 2021 19:49
-
-
Save Danielg212/1cc533a71be0a49dee1cfb61fb37dc64 to your computer and use it in GitHub Desktop.
setup a mongo client in docker container
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 --name some-mongo -d mongo | |
brew install mongodb-community | |
mongo | |
docker ps | |
docker exec -it some-mongo bash | |
docker inspect some-mongo | |
mongo -h //now you have the port for the client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment