Skip to content

More than 2 containers, cannot add mim3 to cluster #8

@oceylantr

Description

@oceylantr

Created mim1 with:
sudo docker run -d -t -h mim1 --name mim1 mongooseim/mongooseim-docker
success

Created mim2 with:
sudo docker run -d -t -h mim2 --name mim2 --link mim1:mim1 -e CLUSTER_WITH=mim1 mongooseim/mongooseim-docker

Created mim3 with:
sudo docker run -d -t -h mim3 --name mim3 --link mim1:mim1 -e CLUSTER_WITH=mim1 mongooseim/mongooseim-docker

All container up but when I go to Bash of mim1 with command:
sudo docker exec -it mim1 bash
and run:
mongooseimctl mnesia info | grep "running db nodes"

I can just see mim1 and mim2 but no sign of mim3 at connected node list. I am trying these at Virtualbox - Ubuntu 16.04 - network host or NAT or completely on AWS platform, no change. Cannot add mim3

One point I can catch from several trials is; when I run below command at all containers; I can see port number is 9100 on mim1 & mim2 but randomly defined on mim3, like 43501 or some number like that, don't know why:

net_adm:names().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions