Containers control how processes use system resources by setting boundaries, managing priority, tracking usage, and enabling operational control.Cgroups allow you to organize processes into a tree-like structure, apply resource policies, and set limits at different levels of the hierarchy.Resource controllers in cgroups implement policies for managing specific types of system resources and are exposed through a virtual filesystem.Popular orchestration tools like Kubernetes and ECS Fargate configure cgroups to manage resources for containers.