Closed kingfisher77 closed 2 years ago
Which image are you using?
I use it via docker compose and I get container healthy with a docker ps
I checked and it is because the PONG is not echoed, it is the result code that is used by docker healthcheck. If you do an echo $?
after you get zero which is a successful exit
if the command is changed to health-nc.sh PING 10050 PONGY
and echo $?
is one as PONGY is not reurned
I use a16bitsysop/olefy:latest And yes, it is the result code. I changed it and the healthcheck is working now. Thank you!
Hi, the implemented health-nc.sh is not working like expected:
No PONG :-) Container is unhealthy.
olefy.py seems to be there:
Any idea?