Skip to content

minidocks/mariadb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Tag Size
latest, 10.6
10.6
10.5
10.4

Alternatives

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published