Depends on what image you are using.You can try  
HEALTHCHECK  --timeout=3s CMD wget --no-verbose --tries=1 --spider 
http://localhost:8080/guacamole || exit 1  if you are using the official 
Guacamole images.

    Le jeudi 16 novembre 2023 à 07:51:53 UTC+1, miao <gogo6...@163.com> a écrit 
:  
 
 Seems the uri will get 404, I test "/api/languages” also get 404. So … any 
suggestion


2023年11月14日 17:56,Antoine Besnier <besnier_anto...@yahoo.fr.INVALID> 写道:
 HEALTHCHECK  --timeout=3s CMD wget --no-verbose --tries=1 --spider 
http://localhost:8080 || exit 1

should do it. If either guacd or the client are not properly loaded, wget will 
return a server error, so it would report a bad health check.
CheersAntoine


    Le mardi 14 novembre 2023 à 08:22:46 UTC+1, miao <gogo6...@163.com> a écrit 
:  
 
 Hi ,
  Is there some health check uri for guacamole and guacd when run it as docker 
container? 
  Thx


Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

  

  

Reply via email to