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
docker-compose up --wait --wait-timeout 300 does not wait for the specified perod
before 2024-12-20T11:43:14Z
docker compose up --quiet-pull --no-deps -d db --wait --wait-timeout 300 || { echo failed $(date "+%Y-%m-%dT%H:%M:%SZ"); false; }
[+] Running 1/2
✔ Network core_default Created 0.1s
⠇ Container db Waiting 40.7s
container db is unhealthy
failed 2024-12-20T11:43:55Z
As you can tell and actual wait of 41 seconds falls short of the specified wait period of 300 seconds by 259 seconds. This is, to all intents an purposes, an order of magnitude less than the requested period.
Steps To Reproduce
Create a postgres container that as a initialisation script that takes 3-5 minutes to complete
Run the docker compose up step
Compose Version
docker compose version
Docker Compose version v2.29.7
docker-compose version
Docker Compose version v2.29.7
Description
docker-compose up --wait --wait-timeout 300 does not wait for the specified perod
As you can tell and actual wait of 41 seconds falls short of the specified wait period of 300 seconds by 259 seconds. This is, to all intents an purposes, an order of magnitude less than the requested period.
Steps To Reproduce
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: