MongoDB Docker Container Exercise

You can up and run MongoDB Docker container in your local machine and later connect from mysql CLI to query your collections.

Run the following command in your terminal to up and run a MongoDB NoSQL Docker container.

docker run -p 27017:27017 --name mongoDbTest -d mongo:latest

Follow the following link for more details

https://hub.docker.com/_/mongo

Leave a Reply

Your email address will not be published. Required fields are marked *