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
Using the --wait-timeout option with --wait is supposed to ensure that the command doesn't hang indefinitely in case of issues. However the command still hangs when the compose file contains a dependency with a service_completed_successfully condition.
The --timeout option doesn't seem to be working either in this scenario.
This bug was found in a real compose configuration when one of our setup containers got stuck. Below is just a minimal reproduction.
The expected behavior would be that the docker compose command exits after the specified wait-timeout.
Description
Using the --wait-timeout option with --wait is supposed to ensure that the command doesn't hang indefinitely in case of issues. However the command still hangs when the compose file contains a dependency with a
service_completed_successfully
condition.The --timeout option doesn't seem to be working either in this scenario.
This bug was found in a real compose configuration when one of our setup containers got stuck. Below is just a minimal reproduction.
The expected behavior would be that the
docker compose
command exits after the specifiedwait-timeout
.Steps To Reproduce
docker compose up -d --wait --wait-timeout 1
, or any timeout less than 10.docker compose up -d --wait --wait-timeout 1
again.Run the above with
docker compose up -d --timeout 1
ordocker compose up --timeout 1
, and observe that the --timeout option doesn't work either.Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: