Yunseok's Dev Blog

배운 것을 적는 블로그입니다.

Install mongodb

$ docker run --name mongo_local -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=password -e -v /Users/yunseok/Documents/mongodb:/data/db -p 27017:27017 -d mongo:4.0.9