catalog / docker.io/library/mysql / criteria

mysql — validation criteria

Per-image acceptance criteria for the docker.io/library/mysql profile (the official MySQL image). Validated against …@sha256:c831a0f1… (tag 8.4, the LTS line), derived by drop-test against mysql's default (root-then-drop) invocation. The default runs on the full Docker default cap set; this profile trims it 14 → 3.

Representative workload / correctness check

profiles/workloads/mysql.sh — connect as the configured application user and run CREATE / INSERT / SELECT / DROP, mirroring the official docker-library mysql-basics test shape. The drop-test correctness check additionally asserts the server (mysqld) runs as the non-root mysql user (uid 999): mysql answers pings while the transient bootstrap server is still initialising, and — the redis/mariadb lesson — a workload-only check passes even when the privilege drop silently failed, so the uid assert is mandatory for any re-derivation.

capabilities — derived by drop-test

filesystem — derived by drop-test

Scope (run_config + out-of-band conditions)