![]() ![]() If you installed Docker Desktop/Toolbox for either Windows or Mac, you already have Docker Compose!Ĭan you have multiple Docker compose files? READ: How do I get scrollbar? How do I use Yml file in Docker? The up command will pull the mongo image from the docker registry and create the container using the given parameters in the docker-compose. The -d operator runs the detached container as a background process. Go to the “mongodb” folder and run the docker-compose up command to start the MongoDB container. ![]() Since mongodb auth not enabled yet we can simply connect to mongodb like below. First we need to run mongodb without enabling auth. How do I enable authentication in MongoDB Docker?Įnable mongodb authentication with docker
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |