A

Admin • 828.43K Points
Coach

Q. What is the `profiles` key used for in docker-compose.yml?

  • (A) To manage networks
  • (B) To define service configurations based on environments
  • (C) To set CPU limits
  • (D) To define restart policies

Explanation by: Admin
The `profiles` key is used to control which services run based on the active profile.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.