MongoDB Authentication Failed in Docker using MongoDB Compass
I struggled here for many hours but still stuck. I am trying to set up a MongoDB Docker container to use as a local database and using MongoDb Compass to connect. Here my docker-compose file
volumes Additional property data/mongodb/db1 is not allowed in docker reeplica set
I am trying to create named volumes for all 3 replica nodes. if i remove named volume from mongo2 and mongo3 and from the last volume section, Then this code will work fine.
mkdir: cannot create directory ‘/data/db1’: File exists? replica set in docker container
Hi i am trying to create mongodb replicaset with ‘luamas/docker-mongo-local-replicaset’ container. But i am getting error –
How to connect to mongodb when replicaset is enabled to dump and restore
I have a docker mongodb and a local mongodb, both on the same server (suppose the IP is 192.168.10.10
).
How to see “IMAGE LAYERS” for a previous version of an image in hub.docker.com?
Pull the MongoDB Docker Image
Why MongoDB’s docker image supports persistent data when using –volume /tmp/data:/data/db but it fails when using –volume /tmp/data:/data
The context I am learning how to use docker. I am using the image mongodb/mongodb-community-server which is mentioned in this guide at the MongoDB’s official website. I want the container that runs that image to have persistent data. That is, if the container gets deleted, I can create a new container and continue working with […]
mongodb docker vm.max_map_count is too low even if set to 524288
mongodb run as docker container always gives the warning ‘vm.max_map_count is too low’ if I enter mongosh.
Mongodb Dockerfile which automatically seeds data
I would like to create a single Dockerfile for MongoDB which will start mongod and seed the database with .json files (if they were mounted).