Running health checks with lscr.io/linuxserver/mariadb:latest

I’d like to run healthchecks for my mariadb container using the instructions in https://mariadb.com/kb/en/using-healthcheck-sh/. But they don’t seem to work. I tried setting MARIADB_AUTO_UPGRADE but that didn’t do anything. Are these instructions restricted to the Docker Official Images of MariaDB? And if so, how can I enable health checks for the linuxserver mariadb image?

1 Like

Their script is for the official container, you would need to adapt it or write something yourself

So is there an "equivalent’ mechanism built into the linuxserver image? Or do people just not bother with health checks when using this image? It would seem a bit wasteful if everyone was writing their own.

1 Like

As I said, you need to write something yourself or adapt the official

Or use the official container

Not sure that really answered the question. But I’ll just move to the official container.

1 Like