/docker-mariadb

MariaDB in Docker with Galera Replication

Primary LanguageShellApache License 2.0Apache-2.0

docker-mariadb

Build Status Docker Pulls

A Docker MariaDB image based on the official Docker library image. This contains configurations needed to start a MariaDB Galera cluster.

Images

Usage

See the sample MariaDB Cluster for complete usage.

Galera Configuration Variables

For the bootstrap node, --wsrep-new-cluster is necessary to start as a primary component.

For the non-bootstrap nodes, the environment variable MYSQL_CREATE_DATADIR=1 must be set to prevent hanging init process and eventual crash.