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
{{ message }}
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
However there is no shell and no curl in the image, so I can get the container healthy.
No package manager to install curl.
I tried debug version (busybox) which contains wget to replace curl, but there is still no shell to execute it.
I would like to how to do health check on docker (AWS ECS)?
Thanks
P.S. I would like to use fluent-bit as a sidecar container of my node.js app, so I have to make sure fluent-bit become healthy first, then start node.js app container. That's why I have to implement health check on AWS ECS.
According to AWS doc: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html
[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ] is the simplest way to do health check
However there is no shell and no curl in the image, so I can get the container healthy.
No package manager to install curl.
I tried debug version (busybox) which contains wget to replace curl, but there is still no shell to execute it.
I would like to how to do health check on docker (AWS ECS)?
Thanks
P.S. I would like to use fluent-bit as a sidecar container of my node.js app, so I have to make sure fluent-bit become healthy first, then start node.js app container. That's why I have to implement health check on AWS ECS.