mariadb

mariadb

Docker app from linuxserver's Repository

Overview

Mariadb(https://mariadb.org/) is one of the most popular database servers. Made by the original developers of MySQL.

Runtime arguments

Network
bridge
Shell
bash
Privileged
false

Template configuration

WebUIPorttcp

MariaDB listens on this port.

Target
3306
Default
3306
AppdataPathrw

Persistent config files

Target
/config
MYSQL_ROOT_PASSWORDVariable

Set this to root password for installation (minimum 4 characters and non-alphanumeric passwords must be properly escaped). (valid only for first run)

Default
ROOT_ACCESS_PASSWORD
MYSQL_DATABASEVariable

Specify the name of a database to be created. (valid only for first run)

Default
USER_DB_NAME
MYSQL_USERVariable

This user will have superuser access to the database specified by MYSQL_DATABASE (do not use root here). (valid only for first run)

Default
MYSQL_USER
MYSQL_PASSWORDVariable

Set this to the password you want to use for you MYSQL_USER (minimum 4 characters and non-alphanumeric passwords must be properly escaped). (valid only for first run)

Default
DATABASE_PASSWORD
REMOTE_SQLVariable

Set this to ingest sql files from an http/https endpoint (comma seperated array).

Default
http://URL1/your.sql,https://URL2/your.sql
CLI_OPTSVariable

Pass CLI options to mariadbd via mariadbd-safe. Use with caution as mariadbd option precedence is complex.

PUIDVariable

Container Variable: PUID

Default
99
PGIDVariable

Container Variable: PGID

Default
100
UMASKVariable

Container Variable: UMASK

Default
022

Download Statistics

416,264,427
Total Downloads
444,674
This Month
424,442
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
lscr.io/linuxserver/mariadb
Last Updated2026-05-05
First Seen2016-10-11

Run Mariadb on Unraid.

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