Forgot to mention this command needs to be baked in the image, it cannot be 
added when starting the container.You can add a healthcheck when starting the 
container (see Docker run reference | Docker Docs) or in docker compose 
(Compose file version 3 reference | Docker Docs).
CheersAntoine
    Le mardi 14 novembre 2023 à 10:57:05 UTC+1, Antoine Besnier 
<besnier_anto...@yahoo.fr.invalid> a écrit :  
 
  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