docker icon indicating copy to clipboard operation
docker copied to clipboard

Wallabag/mariadb healthcheck fails: mysqladmin is not included in the official container

Open jeff47 opened this issue 2 years ago • 2 comments

The healthcheck statement in the docker compose example fails, because mysqladmin is not included in the official mariadb container.

https://mariadb.org/mariadb-server-docker-official-images-healthcheck-without-mysqladmin/

I think the new format should be

      healthcheck:
            test: ['CMD', '/usr/local/bin/healthcheck.sh', '--innodb_initialized']
            start_period: 5s
            timeout: 5s
            interval: 5s
            retries: 5

Source: https://github.com/MariaDB/mariadb-docker/issues/512#issuecomment-1608976749

jeff47 avatar Sep 15 '23 13:09 jeff47

The new format fixed the UNHEALTHY tag for me.

lumper5 avatar Jan 13 '24 12:01 lumper5

Could you open a PR to fix it then? Thanks.

j0k3r avatar Jan 16 '24 08:01 j0k3r