Use docker mongo container to connect to remote mongo db

  • fennng 

If you would like to use mongo shell to connect to your mongodb but you don’t bother to install mongo client. You can use following command if you have docker installed.

 docker run -it mongo mongo mongodb_addr -u username -p password


您的电子邮箱地址不会被公开。 必填项已用*标注