paypal / dce-go

Docker Compose Executor to launch pod of docker containers in Apache Mesos.
Apache License 2.0
63 stars 48 forks source link

update health check order #114

Closed JiaminZhu closed 2 years ago

JiaminZhu commented 2 years ago

In docker version 20, even container exit gracefully with 0 code, docker still marks health check as unhealthy. Before docker provide the fix, DCE is going to check exit code first and followed by health status of container.