How to connect nodes of two docker containers in elixir? How to connect nodes of two docker containers in elixir? docker docker

How to connect nodes of two docker containers in elixir?


I got it working by converting the string into atom.

iex(xyz@172.17.0.4)> node  = "abc@172.17.0.2"iex(xyz@172.17.0.4)> Node.connect(String.to_atom(node))iex(xyz@172.17.0.4)> true