[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: back-off restarting container

I think I figured that one out in the mean time: there was no process running in the foreground and so the container just shut down. Just running my node app using node and not pm2 (which would run it as a daemon) seems to have done the trick.

On 07 Jun 2016, at 16:15, Clayton Coleman <ccoleman redhat com> wrote:

When it crashes, what is in the logs?

On Tue, Jun 7, 2016 at 7:04 AM, Candide Kemmler <candide intrinsic world> wrote:
I am trying to deploy a docker container that needs to run as USER admin, basically non root, in order for bower to execute correctly.

However it keeps crashing on me.

I just tried specifying

> oadm policy add-scc-to-group anyuid system:authenticated

to no effect.

Here's the end of my Dockerfile:

USER admin
RUN bower install
CMD ["pm2", "start", "app.js"]

What am I missing

users mailing list
users lists openshift redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]