Distributed erlang question

Matthew Evans <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <BLAPR07MB7699BDDD5EC143271DBFA74F9C3B0@BLAPR07MB7699.namprd07.prod.outlook.com>
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 [email protected]

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 [email protected] -remsh [email protected]

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.