Sign inSign up

minidocks/mariadb

By minidocks

•Updated about 13 hours ago

Minimal mariadb images

Image
1

10K+

minidocks/mariadb repository overview

⁠MariaDB docker image (minidocks/mariadb⁠)

MariaDB⁠ server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.

⁠Configuration

The startup configuration is specified in the file /etc/my.cnf, and that file in turn includes any files found in the /etc/my.cnf.d directory that end with .cnf.

⁠Environment variables

  • DATABASE_URL
  • MYSQL_URL
  • MYSQL_USER
  • MYSQL_PASSWORD
  • MYSQL_DATABASE

⁠Usage

docker run --rm -it -e MYSQL_URL="mysql://user:password@host:3306/database_name" minidocks/mariadb
docker run --rm -it -e DATABASE_URL="mysql://user:password@host:3306/database_name" minidocks/mariadb

⁠Initializing a fresh instance

When a container is started for the first time, a new database with the specified name will be created and initialized with the provided configuration variables. Furthermore, it will execute files with extensions .sh, .sql, .sql.gz, .sql.xz and .sql.zst that are found in /docker-entrypoint-initdb.d.

⁠Tags

TagSize
latest, 10.6
10.6
10.5
10.4

⁠Alternatives

Tag summary

Content type

Image

Digest

sha256:efa42a20a…

Size

74.5 MB

Last updated

about 13 hours ago

docker pull minidocks/mariadb