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
This library is great, but I am missing one feature that would make it much better. Currently in order to wait for a service to become healthy, I need to use the .WaitForHttp() method. This works fine when the service becomes healthy, but when there are issues and it becomes unhealthy, I need to handle this with custom logic.
It's possible to throw a FluentDockerException inside the continuation lambda but this causes all services to be disposed before I can handle the FluentDockerException in the try-catch of the ICompositeService.Start() method. Once they are disposed, I can't retrieve the logs using host.Host.ComposeLogs(), therefore making it harder to debug what's going on in a pipeline for example.
This would all not be necessary if the --wait parameter could be passed to the docker-compose up command, which will let Docker Compose handle the health checks, rather than having custom logic.
The text was updated successfully, but these errors were encountered:
This library is great, but I am missing one feature that would make it much better. Currently in order to wait for a service to become healthy, I need to use the .WaitForHttp() method. This works fine when the service becomes healthy, but when there are issues and it becomes unhealthy, I need to handle this with custom logic.
It's possible to throw a FluentDockerException inside the
continuation
lambda but this causes all services to be disposed before I can handle the FluentDockerException in the try-catch of the ICompositeService.Start() method. Once they are disposed, I can't retrieve the logs using host.Host.ComposeLogs(), therefore making it harder to debug what's going on in a pipeline for example.This would all not be necessary if the --wait parameter could be passed to the
docker-compose up
command, which will let Docker Compose handle the health checks, rather than having custom logic.The text was updated successfully, but these errors were encountered: