-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Enhancement Type
Improve an existing feature
Describe the enhancement
I was experiencing this issue when using a compose stack deployed on Docker Swarm. In portainer it didn’t even report a failed healthcheck as the reason the container got killed, but only a 137 exit code that is usually associated with the kernel OOMKiller killing the process.
The suggestion I have is either modify the healthcheck scripts to wait until the server no longer responds with a “server starting” error and increasing the timeout allowed in the healthcheck settings, or increase number of tries / interval / start period. If you don’t want to do that for all the server types maybe it could be specified in the readme that the default settings aren’t usable for a modded server and suggest to change them in the compose file.
Thanks!