Extra infos for you guys:

If you look for example at our couchbase images 
https://github.com/dockerimages/couchbase you will find the use of confused 
this is a small tool that can rewrite some traffic informations

if you plan linking 2 containers that run on diffrent external hosts u need 
to translate the external ip of the docker host to 127 and i saw you dont 
opened 21100 till 21199 tcp/udp

so for example our images run confused on port 7081 and we use this port 
when we connect over my client -> docker_host_ip -> bridge -> container_ip 
to translate docker_host ip to 127.0.0.1

Hopes that helps you to understand what your doing if you add a extra 
isolated network layer where you run couchbase in.

Am Montag, 27. April 2015 17:15:27 UTC+2 schrieb Mathieu Corbin:
>
> 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,
>
>
>
-- 



Direkt SPEED - Global
Iranischestr. 6
13347 Berlin
Tel. 030 55577593
Mobil. 0157 835 966 90
E-Mail. [email protected] / Herr Lemanschik Inhaber / Geschäftsführer
E-Mail [email protected] / Herr Mirga Geschäftsleitung Niederlassung Schweiz.

PayPal:
Zahlungsaddresse: info@dspeed. <[email protected]>eu


# Änderungbeforstehnd StrNR: 23/417/00106 # Änderungbeforstehnd IdNr. 41 
784 530 961 

# Änderungbeforstehnd

Konto Daten:
Inhaber: Frank Lemanschik
Kontonummer: 1062053369
Bankleitzahl: 10050000
Bank: Sparkasse Berlin

-- 
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