I am using minikube on virtualbox. My node image is 14.10.1 and in my application i am connecting to mongodb atlas cluster using following string
mongodb://:@/?retryWrites=true&w=majority
I kept kubernetes out of the picture and simply starting a container using
docker run --name app -p 80:80 -d <app_image> but for some reason it cannot connect to atlas cluster when i run the above container in minikube
however, when i run same command/container from my mac, it is able to connect to atlas cluster.
I am not sure what is the issue. Could someone help?