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
It seems like occasionally when a container is unhealthy on start and restarts and becomes healthy, the docker compose up -d --wait will fail with an unhealthy error message. This happens when docker compose up -d --wait is run in parallel, and with the policy restart: unless-stopped. Note that this occasionally happens, not all the time.
I would hope that even if the container is unhealthy and crashes on start, --wait will account for this as it eventually becomes healthy after restarting itself if it is within the timeout period.
Description
It seems like occasionally when a container is unhealthy on start and restarts and becomes healthy, the docker compose up -d --wait will fail with an unhealthy error message. This happens when docker compose up -d --wait is run in parallel, and with the policy restart: unless-stopped. Note that this occasionally happens, not all the time.
I would hope that even if the container is unhealthy and crashes on start,
--wait
will account for this as it eventually becomes healthy after restarting itself if it is within the timeout period.Steps To Reproduce
I have 3 config files like so:
docker-compose-redis:
docker-compose-kafka:
docker-compose-relay:
When I run
Relay sometimes fails the to come up with the --wait flag, even if the docker status is technically healthy.
Logs:
Compose Version
Docker Environment
Anything else?
Let me know if there is anything else I can add to help out when reproducing the issue. The contents of the relay configs can be found here:
https://github.com/getsentry/relay/tree/fe3f09fd3accd2361887dd678dbe034f25139fce/devservices/config
The text was updated successfully, but these errors were encountered: