AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mongodb compass docker image7/28/2023 ![]() ![]() ![]() ![]() For a full list of available MongoDB Community Server images, see: the official Docker Hub page. For example, to run MongoDB 5.0: docker run -name mongo -d mongodb/mongodb-community-server:5.0-ubi8. Docker pulls and runs the specified version. Alternatively, set connection string MECONFIGMONGODBURL to the proper connection for your MongoDB container on your Docker network. To install a specific version of MongoDB, specify the version after the : in the Docker run command. Is there anything im doing wrong? i still havent tested my nodejs app to connect to mongo db, im afraid that my app couldnt connect to it too. Usage (Docker) Make sure you have a running MongoDB container on a Docker network (-network some-network below) with -name or -network-alias set to mongo. docker run -name mongodb -d -p 27017:27017 mongodb/mongodb-community-server:MONGODBVERSION. This is my docker compose file: version: "3"Įverything works pretty well and when i want to connect to my mongodb using mongodb compass it gives me authentication failed error, everything works fine when i dont specify username and password ![]()
0 Comments
Read More
Leave a Reply. |