Q. Which of the following is used to allocate a specific amount of CPU to a Docker container?
β
Correct Answer: (A)
--cpu-shares
Explanation: '--cpu-shares' is used to set CPU shares for a container in Docker.