[erlang-questions] how: Simple distributed Erlang in docker containers

Bengt Kleberg <>
Wed May 18 07:15:48 CEST 2016


Since the original message has been removed it is difficult to explain 
what I mean with undocumented. But interested parties can look it up. 
Especially the "Name" argument, that included an IP address. The 
resulting behaviour is very useful if the computer has been configured 
in a way where Erlang/OTP can not find out the fully qualified host 
name. But I have not seen this documented.


bengt

On 05/17/2016 10:31 PM, Chandru wrote:
> On 17 May 2016 at 08:01, Bengt Kleberg < 
> <mailto:>> wrote:
>
>     Thank you for showing a way forward.
>
>
>     Since "-name " is undocumented, I wonder if there is
>     another possibility to use distributed Erlang with Docker?
>
>
>
> Why do you say it is undocumented? From http://erlang.org/doc/man/erl.html
>
> *-name Name*
>
>     Makes the Erlang runtime system into a distributed node. This flag
>     invokes all network servers necessary for a node to become
>     distributed. See net_kernel(3)
>     <http://erlang.org/doc/man/net_kernel.html>. It is also ensured
>     that epmd runs on the current host before Erlang is started. See
>     epmd(1) <http://erlang.org/doc/man/epmd.html>.
>
>     *The name of the node will be , where Host is the fully
>     qualified host name of the current host*. For short names, use the
>     -sname flag instead.
>
>
> Chandru

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160518/2b3822c7/attachment-0001.html>


More information about the erlang-questions mailing list