Hi,

I try to run couchbase community with docker on aws instances. I actually 
just try to create a simple cluster (2 nodes).

In my first node, i run : 

sudo docker run -p 8091:8091 -p 8092:8092 -p 11210:11210 -p 11211:11211 -p 
18091:18091 -p 4369:4369 -v /mnt/couchbase:/opt/couchbase/var -d 
ip-172-31-**.**.eu-west-1.compute.internal:5000/couchbase:latest

In my second node : 

sudo docker run -p 8091:8091 -p 8092:8092 -p 11210:11210 -p 11211:11211 -p 
18091:18091 -p 4369:4369 -v /mnt/couchbase:/opt/couchbase/var -d 
ip-172-31-**.**.eu-west-1.compute.internal:5000/couchbase:latest

When i'm going in node 1 web console, in "configure server hostname"  i can 
only use 127.0.0.1, because if i use something else i get "Could not 
listen: eaddrnotavail". Can i use this configuration (127.0.0.1) for 
running my cluster ?

When i try to add my second node to my cluster in the web console 

[

IP Address : node 1 ec2 instance ip
Username : Administrator
Password : my password

]

i got this message : *Attention* - Failed to reach erlang port mapper at 
node "172.17.0.13". Error: ehostunreach. 

172.17.0.13 is the internal ip of my docker in the node 2 (sudo docker exec 
-t -i a965ee9df2ad ifconfig in node 2 =  eth0      Link encap:Ethernet  
HWaddr 02:42:AC:11:00:0D  inet addr:172.17.0.13  Bcast:0.0.0.0  
Mask:255.255.0.0 ...)

Does anyone have a solution ?

Thanks you,


-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to