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 <[email protected]> wrote: > > When it crashes, what is in the logs? > > On Tue, Jun 7, 2016 at 7:04 AM, Candide Kemmler <[email protected] > <mailto:[email protected]>> 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 > EXPOSE 8080 > CMD ["pm2", "start", "app.js"] > > What am I missing > > _______________________________________________ > users mailing list > [email protected] <mailto:[email protected]> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > <http://lists.openshift.redhat.com/openshiftmm/listinfo/users> >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
