[BUG] --wait
shouldn't have any effect when using a single service
#10200
Labels
--wait
shouldn't have any effect when using a single service
#10200
Description
Pretty much the title, if you use "--wait" with a single service, it hangs indefinitely. This makes sense: if you
--wait
and you only have one service, it'll hang forever because it won't receive a Healthy or Running from anyone else (I think...).Steps To Reproduce
Run
docker compose up --wait
anddocker compose up
on the provideddocker-compose.yml
.Adding a
restart always
or adding another service that will emit a Healthy or Running status clears the problem, hence my conjecture.Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: