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

In Docker compose we can use the depends_on 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_mode etc.
But Docker does not wait for until a container is ready.

Leave a Reply

Your email address will not be published. Required fields are marked *