<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello.<div class=""><br class=""></div><div class="">I've run into a strange problem when using Erlang and Docker. I have a small PoC that uses open_port to launch an "ls" command and, under normal circumstances, I get the exit_status message and the program terminates. However, if I run the command directly via "docker run", it seems the message is lost. The "ls" command is executed and terminates, but I don't get the "exit_status" message.</div><div class=""><br class=""></div><div class="">This issue seems related to an old message to the list: <a href="http://erlang.org/pipermail/erlang-questions/2013-September/075385.html" class="">http://erlang.org/pipermail/erlang-questions/2013-September/075385.html</a></div><div class=""><br class=""></div><div class="">The relevant code and Dockerfile can be found here: <a href="https://github.com/edevil/docker-erlang-bug" class="">https://github.com/edevil/docker-erlang-bug</a></div><div class="">The built image: <a href="https://hub.docker.com/r/edevil/docker-erlang-bug/" class="">https://hub.docker.com/r/edevil/docker-erlang-bug/</a></div><div class="">Docker issue: <a href="https://github.com/docker/docker/issues/8910#issuecomment-165072444" class="">https://github.com/docker/docker/issues/8910#issuecomment-165072444</a></div><div class=""><br class=""></div><div class="">Now, I don't even know if this is a Docker issue, or an Erlang issue, or neither. Can someone shed some light on this issue?</div><div class=""><br class=""></div><div class="">Thank you and best regards,</div><div class="">André Cruz</div></body></html>