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

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

Download Statistics

0
Total Downloads
22,924,444
This Month
15,154,367
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
mariadb
Last Updated2026-05-27
First Seen2021-06-10

Run MariaDB-Official on Unraid.

MariaDB-Official is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.