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
<[email protected]> 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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]