jdc91 commented on issue #21: Replication does not work across multiple 
instances of docker
URL: https://github.com/apache/couchdb-docker/issues/21#issuecomment-315042179
 
 
   Wow thanks wohali :)
   Got the replication working using the exact container IP's which can be 
found using
   ` docker inspect <containerId>`
   
![image](https://user-images.githubusercontent.com/3422709/28162825-15c7e7ae-67e6-11e7-84dd-ac743ebd9cac.png)
   
   So for the set up the ips were actually.
   172.17.0.2:5984
   172.17.0.3:5984
   172.17.0.4:5984
   Wonder why the bound addresses did not work though. Since I could access 
futon using the
   http://localhost:1111/_utils/ ip.
   I had bound port 5984 to a specific host port in the host. Each port 
corresponded to the ip!
   
![image](https://user-images.githubusercontent.com/3422709/28162553-1f4a153c-67e5-11e7-8a16-b4d46d124b15.png)
   All other PUT/POST/GET requests using POSTMAN worked  using the bound IP.
   Maybe replication fails when the port forwarding happened. I however did not 
try out the docker-compose option, since this was quite trivial.Thanks for the 
help Wohali, really appreciate it!
 
----------------------------------------------------------------
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