[BUG] depends_on
is NOT ignored when extending from a service
#12360
Labels
depends_on
is NOT ignored when extending from a service
#12360
Description
According to the documentation, the
depends_on
declaration should not be derived when extending a service:However, if you extend a service that depends on a service that is not declared in the compose file, an error is issued:
I didn't expect an error because according to the documentation
depends_on
should never be shared between services with extends.Steps To Reproduce
compose.yaml
compose2.yaml
run command:
Compose Version
Docker Environment
Anything else?
I reduced the configuration to only the parts causing the problem.
The text was updated successfully, but these errors were encountered: