MariaDB-Official

MariaDB-Official

Official

Docker app from mgutt's Repository

Overview

Official MariaDB database container. It allows to set a database and username without using the console. MariaDB is a community-developed, commercially supported fork of MySQL (RDBMS). Root Password: This container creates by default a random root password on initial execution. Open Docker > MariaDB Icon > Logs > Scroll down to "GENERATED ROOT PASSWORD" to find it. Creating database dumps docker exec MariaDB-Official sh -c 'exec mysqldump --all-databases -uroot -p"YOUR_ROOT_PASSWORD"' > /mnt/user/Backups/all-databases.sql Restoring data from dump files docker exec -i MariaDB-Official sh -c 'exec mysql -uroot -p"YOUR_ROOT_PASSWORD"' < /mnt/user/Backups/all-databases.sql

Install MariaDB-Official on Unraid in a few clicks.

Find MariaDB-Official in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for MariaDB-Official Review the template variables and paths Click Install

Download Statistics

3,122,137,397
Total Downloads
19,614,451
This Month
16,461,532
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Details

Repository
mariadb
Last Updated2026-06-30
First Seen2021-06-10

Runtime arguments

Network
bridge
Shell
sh
Privileged
false
Extra Params
--user=99:100 --memory=2G

Template configuration

PortPorttcp

Container Port: 3306

Target
3306
Value
3306
Generate Random PasswordVariable

Set to yes, to generate a random root password. The generated password will be printed to the logs (Docker &gt; MariaDB Icon &gt; Logs).

Target
MARIADB_RANDOM_ROOT_PASSWORD
Value
Yes
Database NameVariable

This variable allows you to specify the name of a database to be created on image startup.

Target
MARIADB_DATABASE
Value
dbname_here
Database UserVariable

Container Variable: MARIADB_USER

Target
MARIADB_USER
Value
dbuser_here
Database PasswordVariable

Container Variable: MARIADB_PASSWORD

Target
MARIADB_PASSWORD
DataPathrw

Recommened: For better performance replace /mnt/user against /mnt/cache. Note: This requires appdata share caching set to Prefer or Only!

Target
/var/lib/mysql
Value
/mnt/user/appdata/mariadb-official/data
ConfigPathrw

Container Path: /etc/mysql/conf.d

Target
/etc/mysql/conf.d
Value
/mnt/user/appdata/mariadb-official/config
Root PasswordVariable

Generate Random Password must be empty if you like to set your own Root Password!

Target
MARIADB_ROOT_PASSWORD