Alireza Azar Nia:
Hi guys
I wanted to know the order of execution in docker-compose ver2 . Which image runs first? Is it possible to specify this manually or not? Thanks for your tips
Mohamad Al Sayadi:
As far as I know, by default. Docker will run services/containers defined in a Docker Compose file in parallel. That is, it will start running all at once.
However, if you specify, for example, in service-a
a depends_on
option and list service-b
, then, service-a
will not be started until service-b
is running.