facebook / duckling

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not Root docker container for Openshift cluster

bigsem89 opened this issue · comments

Hi, i'm trying to move image to openshift. But there is permissions issue with nonroot user.

duckling-example-exe: log: createDirectory: permission denied (Permission denied)

Could you help with it?

Hi, i'm trying to move image to openshift. But there is permissions issue with nonroot user.

duckling-example-exe: log: createDirectory: permission denied (Permission denied)

Could you help with it?

If you don't need access logging or error logging, I recommend just passing in --no-access-log and --no-error-log to the executable. That will circumvent any permission issues you're having. As for debugging general permission issues on OpenShift, I'm not familiar with the technology and it's out of scope for this issue tracker.

Which directory does it tries to create? Even with verbose mode, it does not say which directory it tries to create:

I have no name!@stack-duckling-65c67cd69f-727jn:/$ duckling-example-exe -vv -p 8000
duckling-example-exe: log: createDirectory: permission denied (Permission denied)

The directory is '/log'. Just make sure it is writable.