Data Engineering, Data Science, Mongodb, Python, DevOps.
-d Once the three MongoDB nodes are up and running, we need to add them to same replica set. This will make sure that they all belong to the same cluster of nodes and will sync the data between them according to the master/worker architecture. We can do that using the following command: docker exec