Re: Distributed erlang question

Oleg Tarasenko <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAAHTaX=f4YL8PQ9OY15_oMEwhL5z4ioskn1nqqeH6f0nPq0B8w@mail.gmail.com>
Maybe this could be helpful:
https://www.erlang-solutions.com/blog/running-distributed-erlang-elixir-applications-on-docker.html

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

Best regards,
Oleg

On Tue, Sep 22, 2020 at 9:07 PM Matthew Evans <[email protected]>
wrote:

> 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.