How to make ping command work with epmdless distribution?

The shell command “rel/app/bin/app” generated by distillery seems rely on epmd. if we use epmdless distribution according to https://www.erlang-solutions.com/blog/erlang-and-elixir-distribution-without-epmd.html, “rel/app/bin/app ping” will report an ‘Node is not running’ error.

How to make distillery generate a epmdless release?

Without epmd I’m unsure how you could communicate with it unless you set up a named pipe or socket or something, all of which is not stuff that distillery should touch and is custom to the app.