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
Hi,
docker-compose v2.32 introduces a regression compared to the previous version, in which the depends_on directive is omitted and is not used when using docker-compose commands (for example when starting the service, the related services won't start), while using extends directive from another file.
I've included the steps to reproduce below.
Would appreciate it if you could take a look.
Thanks!
Steps To Reproduce
The following example manifests reproduces the problem:
Expected behaviour of related docker-compose commands docker compose up web
docker compose up web
[+] Running 3/1
✔ Network compose-test_default Created 0.1s
✔ Container compose-test-redis-1 Created 0.0s
✔ Container test Created 0.0s
Attaching to test
Description
Hi,
docker-compose v2.32 introduces a regression compared to the previous version, in which the depends_on directive is omitted and is not used when using docker-compose commands (for example when starting the service, the related services won't start), while using extends directive from another file.
I've included the steps to reproduce below.
Would appreciate it if you could take a look.
Thanks!
Steps To Reproduce
The following example manifests reproduces the problem:
Run docker compose config
You may see that the depends_on directive is missing from the resulting config file.
Docker compose related commands are not working as expected (like, starting the related depends container redis ,in this case):
Expected result (when running docker compose v2.31):
docker compose config
Expected behaviour of related docker-compose commands
docker compose up web
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: