什麼是docker
docker run -it image bash
# how to run a mongoDB
docker run -it -d --name ohi_chat_mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=root_username -e MONGO_INITDB_ROOT_PASSWORD=root_password mongo
docker run -it image bash
# how to run a mongoDB
docker run -it -d --name ohi_chat_mongo -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=root_username -e MONGO_INITDB_ROOT_PASSWORD=root_password mongo