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

PM2 Daemon is dead #3452

Closed
rlataguerra opened this issue Feb 6, 2018 · 5 comments
Closed

PM2 Daemon is dead #3452

rlataguerra opened this issue Feb 6, 2018 · 5 comments

Comments

@rlataguerra
Copy link

rlataguerra commented Feb 6, 2018

Using PM2 inside docker, dies constantly then restart app, and dies again, etc...

PM2 Daemon is dead

node 8.9.0
PM2 2.9.3

@wallet77
Copy link
Contributor

wallet77 commented Feb 7, 2018

Hi @Stickyhands,

Do you use your own docker file ?
Maybe this page can help you : http://pm2.keymetrics.io/docs/usage/docker-pm2-nodejs/

@rlataguerra
Copy link
Author

I already use "docker-runtime".
With my own dockerfile yes, I tried on a dockerfile that extends the official node (FROM node:8.9.0-slim or alpine where I then install PM2 inside)
and then I tried with keymetrics/pm2:8-alpine

same behavior

@Unitech
Copy link
Owner

Unitech commented Feb 7, 2018

Fixed with new pm2-runtime:

RUN npm install Unitech/pm2#development -g
CMD [ 'pm2-runtime', 'app.js' ]

@Unitech
Copy link
Owner

Unitech commented Feb 7, 2018

closing #3266

@Unitech Unitech closed this as completed Feb 7, 2018
@l00mi
Copy link

l00mi commented Feb 14, 2018

@Unitech Could you elaborate a bit on this please?

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

No branches or pull requests

4 participants