title: run nodejs application with pm2 or in docker containers?
body: <p>Is it better to run N docker containers or pm2 with N instances? What approach is more efficient from resources utilization (cpu/memory) point of view?</p>
  
  <p>Update: I don't ask how to run node.js app using pm2 in a docker container. I want to understand what is a better setup if we talk about single instance server, run app in a multiple docker containers or in multiple threads using pm2.</p>