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.
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
.
DATABASE_URL
MYSQL_URL
MYSQL_USER
MYSQL_PASSWORD
MYSQL_DATABASE
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
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
.
Tag | Size |
---|---|
latest, 10.6 | |
10.6 | |
10.5 | |
10.4 |