You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from v2.32.1, the depends_on service attribute in compose.yaml is ignored by docker compose when a service that extends another service is specified in the command line.
This behaviour was reported in #12423, #12421 and probably other issues.
A fix was released in v2.32.3, but it didn't fix this specific issue.
From this comment I guess that what the devs are missing is that this bug only shows up when specifying a service on the command line.
The text was updated successfully, but these errors were encountered:
Description
Starting from v2.32.1, the
depends_on
service attribute incompose.yaml
is ignored bydocker compose
when a service that extends another service is specified in the command line.Steps To Reproduce
Given the following
compose.yaml
:hello-world-job
should get thedepends_on
attribute fromjob-base
, as follows:However, using any version >= 2.32.1, when specifying
hello-world-job
in the command line thedepends_on
attribute is ignored:While when using v2.31.0 or earlier,
depends_on
was not ignored, as follows:Compose Version
Docker Environment
Anything else?
This behaviour was reported in #12423, #12421 and probably other issues.
A fix was released in v2.32.3, but it didn't fix this specific issue.
From this comment I guess that what the devs are missing is that this bug only shows up when specifying a service on the command line.
The text was updated successfully, but these errors were encountered: