How can we control the startup order of services in Docker compose?

0

In Docker compose we can use the depends on the option to control the startup order of services. With compose, the services will start in the dependency order. Dependencies can be defined in the options like- depends_on, links, volumes_from, network_modeetc. But Docker does not wait until the container is ready.

Devops docker
asked Apr 30, 2023 at 23:08
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.