Docker Library – Official MariaDB Image Maintenance

The Docker Library official MariaDB image is now maintained by the MariaDB Foundation, and has been for the last six months. If you didn’t notice, we’ll take that as a compliment, as the previous maintainers of Docker Library from Infosiftr were doing a good job already. Infosiftr still provide valuable quality assurance on the releases before they get to you.

What’s Changed?

What we have done, with assistance from you, our community, is:

Timezones

  • Continued the parting contribution by Infosiftr MARIADB_* environment names and added MARIADB_INITDB_SKIP_TZINFO for consistency.
  • Allowed the timezone to be changed.

Passwords

  • The environment MYSQL_ALLOW_EMPTY_PASSWORD was only ever for the root user. It did confuse some users expecting this to apply to non-root users. MARIADB_ALLOW_EMPTY_ROOT_PASSWORD is a small deviation of the naming change, however it is more clear.
  • MARIADB_RANDOM_ROOT_PASSWORD/MYSQL_RANDOM_ROOT_PASSWORD is significantly more complex, meaning enabling strict_password_validation is possible, as the passwords satisfy the complexity requirements.
  • MARIADB_ROOT_PASSWORD and MARIADB_PASSWORD are properly shell and SQL escaped such that you can use any password, in any SQL MODE, right down to trailing new lines, and it will set accurately. I challenge you to find a valid password that now isn’t accepted by the container.

MariaDB Configurations

Security, Quality and Testing

Documentation and Naming

New Features

What’s next?

Next up is:

  • MDEV-25670 Apply mariadb_upgrade in containers
  • MDEV-25434 Include a healthcheck script in the container. It won’t be enabled by default however.
  • MDEV-25855 Added support for Galera replication with cluster auto bootstrapping
  • Anything else you request that can be delivered with stability

If you have any improvement suggestions please let us know.