A

Admin • 828.43K Points
Coach

Q. What is the purpose of `depends_on` in Docker Compose?

  • (A) To link containers for networking
  • (B) To control container startup order
  • (C) To expose ports
  • (D) To mount volumes

Explanation by: Admin
`depends_on` ensures that a service starts after the services it depends on.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.