So, after fiddling around a bit, I came to a conclusion that trying to run BEAM applications (Erlang/Elixir/etc) in Docker while communicating with them from the host is exhausting.
Mainly because, ironically, BEAM was designed from the ground up to be multi-host, but it requires a discovery service (epmd) to be present on a specific port (4369). So if you want BEAM on your host (with its own epmd), you can't port-forward epmd from your container to its port as well.




