Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How many containers should I run in one DO droplet?
Currently, I’m running 5 applications in Docker containers in one 10GB droplet. These usually run fine when they’ve all been deployed. There apps get very little traffic, so it doesn’t make sense to give them that much space when only a couple of people a day visit them.
The problem is that, sometimes, when I deploy one of my applications my droplet goes to 100% CPU usages or I get a ‘Cannot allocate memory’ error. Every time I deploy an app I’m basically building the image and the running the container (
fig build and
Am I doing something wrong? I do I just actually need a new droplet?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×