R

Ram Sharma • 193.86K Points
Coach

Q. How can you limit the CPU usage of a Docker container?

  • (A) --cpu-shares
  • (B) --cpus
  • (C) --cpu-limit
  • (D) --cpu
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Docker

Explanation by: Ram Sharma
The '--cpus' flag is used to limit the number of CPUs a container can use.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics