mirror of
https://github.com/docker-library/healthcheck.git
synced 2025-04-18 18:24:00 +03:00
* Dockerfile.mariadb - use included healthcheck MARIADB_MYSQL_LOCALHOST_USER=1 creates the mysql@localhost user that the healthcheck uses with --su=mysql. `--innodb_initialized` was chosen as a fairly basic test to ensure that any crash recovery is complete. * Update Dockerfile.mariadb with connect so ensure we are running on the final tcp instance rather than any temporary instance. Using innodb_initialized as well to show of that more than one test is available, and the recovery time of innodb is a aspect that can be forgotten by those that don't frequently do mysql/mariadb admininstration. * Update mysql/Dockerfile.mariadb use implicit path Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
HEALTHCHECK
This is an example set of prototypes for enabling HEALTHCHECK
behavior in select official images.
This repository is not actively maintained and only exists as a reference in implementing your own HEALTHCHECK
which meets your particular needs more accurately than these generic examples possibly could. Resulting images are not actively built and pushed to a Docker Registry (and the FROM
lines are likely even outdated).
See the HEALTHCHECK
FAQ entry for the rationale for why these don't get added to the official images directly.
Languages
Shell
79.5%
Dockerfile
20.5%