A

Admin • 825.56K Points
Coach

Q. How do you attach a config in a Compose file?

  • (A) Using the `volumes:` section
  • (B) Under `configs:` and `configs:` in services
  • (C) With the `secrets:` field
  • (D) It’s not supported in Compose

Explanation by: Admin
Docker configs are attached in Compose under a top-level `configs:` block and referenced in each service.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.