<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi folks,<div><br></div><div>I'm running an R21 release inside a docker container, basically doing what <a href="https://github.com/erlang/docker-erlang-example">https://github.com/erlang/docker-erlang-example</a> does. (It works great for my app, so thanks for that!)</div><div><br></div><div>When I do this:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> docker exec -ti <container> /app/bin/app attach</blockquote><div><br></div><div>I get this:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">failed to attach, user '' does not have sufficient privileges on '/tmp/erl_pipes/mwc@66ac12b78073/', please run node as a different user</blockquote><div><br></div><div>I can run 'remote_console' just fine, and everything else is working as expected too. I've tried hacking it to work by setting ${USER} via the environment (in which case it just says "user 'XX" does not have privileges..."), and even setting all the vars I retrieve via os:getenv() when running under remote_console, but no dice.</div><div><br></div><div>When I 'docker exec' with /bin/sh and have a look in /tmp, there's nothing in there at all, as expected, and certainly no 'erl_pipes'. Which I guess might be something to do with the build steps.</div><div><br></div><div>Any clues on how to get this working?</div><div><br></div><div>Thanks!</div><div>Igor</div></div></div></div>