Distributed erlang question

Oleg Tarasenko oltarasenko@REDACTED
Tue Sep 22 21:19:07 CEST 2020

Maybe this could be helpful:

Please check the docker-compose config at the beginning and commands used
for node connection.

Best regards,

On Tue, Sep 22, 2020 at 9:07 PM Matthew Evans <mattevans123@REDACTED>

> Hi,
> We want to start an Erlang instance within a docker container. What we
> want to do is start the Erlang VM like:
> erl -setcookie bob -name test1@REDACTED
> Since we may not have the interfaces up at that time we provide the lo
> address.
> When the interfaces are running we want to be able connect to that VM from
> a remote node with the actual address:
> erl -setcookie bob -name test2@REDACTED -remsh test1@REDACTED
> This fails...
> I know we can probably do this programmatically instead by starting the VM
> with no distribution and call net_kernel:start/1when the interface is
> ready. Question: is there a better way?
> Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200922/0923e987/attachment.htm>

More information about the erlang-questions mailing list