Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Solution: accounting and limiting of resources
A . Yes
B . No

Answer: A

Explanation:

= Control Groups (cgroups) are a feature of the Linux kernel that allow you to limit the access processes and containers have to system resources such as CPU, memory, disk I/O, network, and so on1. Control groups allow Docker Engine to share available hardware resources to containers and optionally enforce limits and constraints2. For example, you can use the docker run command to specify the CPU shares, memory limit, or network bandwidth for a container3. By using cgroups, you can ensure that each container gets the resources it needs and prevent resource starvation or overcommitment4.

Reference: Lab: Control Groups (cgroups) | dockerlabs

Runtime metrics | Docker Docs

Docker run reference | Docker Docs

Docker resource management via Cgroups and systemd

Latest DCA Dumps Valid Version with 55 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments