title: Should I use forever/pm2 within a (Docker) container?
body: <p>I am refactoring a couple of node.js services. All of them used to start with <code>forever</code> on virtual servers, if the process crashed they just relaunch.</p>
  
  <p>Now, moving to containerised and state-less application structures, I think the process should exit and the container should be restarted on a failure.</p>
  
  <p>Is that correct? Are there benefits or disadvantages?</p>