R

Ranjeet • 34.60K Points
Instructor I

Q. How do you define the network settings for a service in Docker Compose?

  • (A) Using the 'networks' key
  • (B) Using the 'link' key
  • (C) Using the 'connections' key
  • (D) Using the 'network' key

Explanation by: Ranjeet
In Docker Compose, the 'networks' key is used to define network settings for a service.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.