I am trying to run my azure-cosmosdb-emulator container inside docker which I was able to do it successfully. I have followed the steps mentioned in the link Here But, I want to start the emulator with the option EnableMongoDbEndpoint=3.6. The above help page does not say about "How to pass EnableMongoDbEndpoint=3.6" Source: Docker..
My node backend is connecting to Cosmos Db using the Mongo API. Connecting via mongoose via the below steps yields the error MongoError: database name must be a string when running in docker. It runs just fine when using nodemon, i.e. outside of docker container. ( < any > Mongoose).Promise = global.Promise; const options: ConnectionOptions ..