Closed noire-x closed 1 year ago
Hmmm ... that seems normal. It is supposed to do a health check every 60 seconds. Is anything not working?
Oky I just launched a scan. Anyway both docker ps openvas and portainer showing "unhealty"(?). The scan is running anyway and it is at 40% now, will post an update soon ty
Looks like all working even with unhealty container, ty!
I've been looking at this for a while now, and I can't see why the health check reports no problems on completion, but the container still reports unhealthy. This might take me a while to figure out . . . . .
Good grief...... OK ... so after spending WAY too much time trying to figure out what was wrong with my health check script ....
I went back to the source for HEALTHCHECK. https://docs.docker.com/engine/reference/run/#healthcheck
Where I found this command:
docker inspect --format='{{json .State.Health}}' <container-name>
This lead me to the realization that the script was fine, but it was taking more than 3 seconds to complete ... so the HEALTHCHECK was hitting the timeout.
Hi There, i am having some issues with the container, looks like it is looping on And on portainer it says unhealty
Do you have any suggestion? Thanks!