phpmyadmin
5.2.3-ls256
phpmyadmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.

mariadb is one of the most popular database servers. Made by the original developers of MySQL.
Generated from the image's own configuration. Replace the /path/to folders with real paths on your host.
---
services:
mariadb:
image: lscr.io/linuxserver/mariadb:latest
container_name: mariadb
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD
- MYSQL_DATABASE=USER_DB_NAME # optional
- MYSQL_USER=MYSQL_USER # optional
- MYSQL_PASSWORD=DATABASE_PASSWORD # optional
- REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql # optional
- CLI_OPTS= # optional
volumes:
- /path/to/mariadb/config:/config
ports:
- 3306:3306
restart: unless-stopped| Port | Function | Required |
|---|---|---|
| 3306:3306 | MariaDB listens on this port. | required |
| Variable | Function | Required |
|---|---|---|
| PUID=1000 | User ID | required |
| PGID=1000 | Group ID | required |
| TZ=Etc/UTC | Timezone | required |
| MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD | Set this to root password for installation (minimum 4 characters & non-alphanumeric passwords must be properly escaped). (valid only for first run) | required |
| MYSQL_DATABASE=USER_DB_NAME | Specify the name of a database to be created. (valid only for first run) | optional |
| MYSQL_USER=MYSQL_USER | This user will have superuser access to the database specified by MYSQL_DATABASE (do not use root here). (valid only for first run) | optional |
| MYSQL_PASSWORD=DATABASE_PASSWORD | Set this to the password you want to use for you MYSQL_USER (minimum 4 characters & non-alphanumeric passwords must be properly escaped). (valid only for first run) | optional |
| REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql | Set this to ingest sql files from an http/https endpoint (comma seperated array). | optional |
| CLI_OPTS= | Pass CLI options to mariadbd via mariadbd-safe. Use with caution as mariadbd option precedence is complex. | optional |
| Path | Function | Required |
|---|---|---|
| /config | Persistent config files | required |
Pulling :latest picks the right one for your host automatically.
amd64-latestarm64v8-latest:latestStable releasesRebase to Alpine 3.24.
Rebase to Alpine 3.23. Add ability to pass CLI options to mariadbd.
Rebase to Alpine 3.22.
Related
5.2.3-ls256
phpmyadmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.
3.13.1-r1-ls228
DB Browser for SQLite is a high quality, visual, open source tool to create, design, and edit database files compatible with SQLite.
8.0.47-ls86
MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more.