Sadly, I am seeing the following message in the image logs. I had thought
once the bridge was created on the host, then the images would see each
other.

2014-06-11 17:42:04,835 [myid:1] - WARN
 [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:QuorumCnxManager@382] - Cannot
open channel to 2 at election address /10.0.10.2:3888
java.net.NoRouteToHostException: No route to host


On Wed, Jun 11, 2014 at 12:56 PM, David Medinets <[email protected]>
wrote:

> I've updated my github project so that the zoo.cfg has the IP's from the
> br0 bridge network. And have created the myid files inside the images when
> they get started.
>
>
> On Wed, Jun 11, 2014 at 9:06 AM, Rakesh R <[email protected]> wrote:
>
>> Yes before starting the server. When the server starts up, it looks for
>> the file myid in the data directory.
>>
>> -Rakesh
>>
>> -----Original Message-----
>> From: David Medinets [mailto:[email protected]]
>> Sent: 11 June 2014 18:14
>> To: [email protected]
>> Subject: Re: Zookeeper on Docker
>>
>> That file needs to be in place before zookeeper spins up?
>>
>>
>> On Wed, Jun 11, 2014 at 8:38 AM, Rakesh R <[email protected]> wrote:
>>
>> > Hi David,
>> >
>> > You can place 'myid' file in server's data directory, as specified by
>> > the configuration file parameter dataDir.
>> >
>> > For example: dataDir=/home/zookeeper-data/
>> >
>> > Keep like /home/zookeeper-data/myid
>> >
>> > Regards,
>> > Rakesh
>> >
>> > -----Original Message-----
>> > From: David Medinets [mailto:[email protected]]
>> > Sent: 11 June 2014 17:56
>> > To: [email protected]
>> > Subject: Fwd: Zookeeper on Docker
>> >
>> > Hi. I'm working to containerize Zookeeper with Docker. I think I'm
>> > nearly there. But still need to add myid files to each node in the
>> > ensemble. If anyone is inclined, I'll appreciate any help or advice.
>> > My project is at https://github.com/medined/docker-zookeeper. It
>> > starts a three-node zookeeper ensemble and a web-based application to
>> > view the contents of the ensemble.
>> >
>>
>
>

Reply via email to