Introduction
Sometimes your computer runs many programs at once, and some use too much power. CPU limits and reservations help control how much computer power each program can use so everything runs smoothly without slowing down.
When you want to make sure a critical app always has enough CPU power to work well.
When running multiple containers on one machine and you want to prevent one from using all CPU.
When testing how your app behaves with limited CPU resources.
When you want to avoid your server becoming slow because one container uses too much CPU.
When you want to plan resource use before adding more containers to your system.