wohali commented on issue #21: Replication does not work across multiple 
instances of docker
URL: https://github.com/apache/couchdb-docker/issues/21#issuecomment-314971042
 
 
   HI @jdc91 ,
   
   This is a usage issue, not an image-related one. You might find useful 
information here: 
https://stackoverflow.com/questions/35194761/how-to-let-different-docker-containers-talk-to-each-other-without-exposing-the-p
   
   Using this approach, you won't replicate to localhost:1112, but instead to 
something like 172.17.0.3:1112 from 172.17.0.2:1111. The exact port numbers and 
IP addresses will depend upon how your Docker is set up.
   
   The other option is to create a user-defined network as mentioned in the 
comments, and connect the images this way. This is probably easiest with 
docker-compose: 
https://docs.docker.com/compose/networking/#specifying-custom-networks
   
   I'll leave this open for now; if you get it working, please post back here 
with what you used and we can work on adding it to the documentation.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to