Private network issues with docker
I’m having trouble connecting to MongoDB on the docker host. I’m not sure what the problem is but my current docker container should be able to connect with a non-docker MongoDB instance.
My host has 2 network interfaces which are eth0 with an outbound IP and eth1 with a private lan ip 192.168.100.200. Is there any way to connect to the host without doing –net=host?
One Solution collect form web for “Private network issues with docker”
Can you enter in your MongoDB using nsenter or docker exec, and issue some commands such as
if you have a recent version of docker