You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.