Connecting to Mongodb on your docker image

First, you must have docker and Mongosh (https://www.mongodb.com/try/download/shell) Then you start up your docker image with this command docker run --name mongo -p 27017:27017 -d mongo mongod Then to connect, run 'mongosh' - just press enter when prompt for connection string. You should be able to connect.

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm