Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission issue on docker container #11

Open
seonho opened this issue Jun 14, 2017 · 1 comment
Open

Permission issue on docker container #11

seonho opened this issue Jun 14, 2017 · 1 comment

Comments

@seonho
Copy link

seonho commented Jun 14, 2017

I followed the setup guide on docker container.

And finally I got a following message.

root@01e7a29facb9:/# guild check
guild_version:          0.1.1
guild_home:             /opt/guild_0.1.1_linux_x86_64/lib/guild
Not allowed to run as root without setting effective user (-user option)!

=ERROR REPORT==== 14-Jun-2017::00:21:40 ===
** Generic server exec terminating
** Last message in was {#Port<0.1182>,{exit_status,4}}
** When Server state == {state,#Port<0.1182>,0,
                               {[{1,
                                  {<0.3.0>,#Ref<0.0.1.197>},
                                  undefined,true,
                                  [{stderr,<0.3.0>},{stdout,<0.3.0>}]}],
                                []},
                               [],exec_mon,false,false}
** Reason for termination ==
** {exit_status,4}
guild check: internal error
{{exit_status,4},
 {gen_server,call,
             [exec,
              {port,{{run,"/opt/guild_0.1.1_linux_x86_64/lib/guild/priv/bin/tensorflow-check",
                          [stdout,stderr,sync]},
                     undefined,true}},
              30000]}}

My docker image is based on TensorFlow docker image.

@ku1ik
Copy link

ku1ik commented Jun 29, 2017

Seems like erlexec doesn't like when you want it to spawn OS process when BEAM runs as root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants