How To Create a DB For MongoDB Container on Start Up?
In this post, we will get to know How to create a DB for a MongoDB container on a startup which we can do by using the MongoinitDB database environment variable in the docker run command. and we can also use a custom endpoint script but we need to run before any MongoDB server start. … Read more