Docker Community Forums

Share and learn in the Docker community.

How many containers i can run on machine having 2 cores and 64 GB RAM?

Hi,

I am currently working on Docker and management comes up with a question that

  1. how many containers i can run on machine having 2 cores and 64 GB RAM ?
  2. What factors effects the number of docker containers that can run on per host(RHEL).

Do we have any command to find out or any calculation?

Thanks
Amandeep Singh

Hi @amanscollection, there’s no way to say ahead of time without knowing the workload. You might run only a few Java containers that eat up lots and lots of memory, or you might run hundreds of low-overhead processes side by side. In general, you are really asking, how many processes (as in Linux processes) you can run. That depends on what they are doing.

But capacity planning here doesn’t have much to do with containerization. They’re just normal old UNIX processes for the most part. The overhead is quite low and the main hit is more likely to be on disk and network performance.