setup mongo DB without downloading installer on local. Setup mongoDB development environment setup using docker.
MongoDB docker local development setup
https://hub.docker.com/_/mongo
pull the mongo image
$ docker pull mongo:latest
$ docker run --name mongo-db -d mongo:latest
$ docker ps
$ docker logs mongo-db
CLI
$ docker exec -it some-mongo sh
#CLI access
mongo
use emp
db.createCollection("techwasti")
db.techwasti.insertMany([ {name: "Mahesh", origin: "India", age: 30}, {name: "John", origin: "USA", age: 32}, {name: "Ram", origin: "malaysia", age: 28} ])
db.techwasti.find().pretty()
Blog
http://techwasti.com/
Medium Publication
/ techwasti
On this page of the site you can watch the video online mongo-db local development environment setup using docker with a duration of hours minute second in good quality, which was uploaded by the user Maheshwar Ligade 04 July 2021, share the link with friends and acquaintances, this video has already been watched 758 times on youtube and it was liked by 5 viewers. Enjoy your viewing!