title: Docker Process Management
body: <p>I have a deployed application running inside a Docker container, which is, in effect, an websocket client that runs forever. Every deploy I'm rebuilding the container and starting it with <code>docker run</code> using the command set in the <code>Dockerfile</code>.</p>
  
  <p>Now, I've noticed a few times that the process occasionally dies without restarting. When running <code>docker ps</code>, I can see that the container is up, and has been up for 2 weeks, however the process running inside of it has died without the host being any the wiser</p>
  
  <p>Do I need to go so far as to have a process manager inside of the docker container to manage the containerized process?</p>
  
  <p>EDIT:</p>
  
  <p>Dockerfile: <a href="https://github.com/DVG/catpen-edi/blob/master/Dockerfile" rel="nofollow">https://github.com/DVG/catpen-edi/blob/master/Dockerfile</a></p>