1
0
mirror of https://github.com/docker-library/healthcheck.git synced 2025-04-18 18:24:00 +03:00
Daniel Black 40afbf64d6
Dockerfile.mariadb - use included healthcheck (#26)
* 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>
2022-03-09 17:45:01 -08:00
2018-10-09 15:02:00 -07:00
2019-01-15 19:16:10 +00:00
2020-05-26 20:02:41 +02:00
2016-05-06 14:50:25 -07:00

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.

Description
Набор прототипов для использования проверки HealthCheck в контейнерах Docker
Readme MIT 84 KiB
Languages
Shell 79.5%
Dockerfile 20.5%