10.11-alpine(Dockerfile) (on AlpineLinux 3.20)10.11-debian(Dockerfile) (on Debian 12 (bookworm))10.11-ubuntu(Dockerfile) (on Ubuntu 24.04 (noble))
Notes:
- For
amd64andarm64it is recommended to use the official images based on Ubuntu and not these ! - How long MariaDB versions are supported (End of Life): https://mariadb.org/about/#mariadb-server-long-term-release-maintenance-periods
Do not use an container image which MariaDB version is no longer supported! - How long OS (Alpine, Debian, ...) versions are supported (End of Life): https://alpinelinux.org/releases/ and https://wiki.debian.org/DebianReleases and https://ubuntu.com/about/release-cycle
Do not use an container image which OS version is no longer supported!
MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source. Notable users include Wikipedia, DBS Bank, and ServiceNow.
The intent is also to maintain high compatibility with MySQL, ensuring a library binary equivalency and exact matching with MySQL APIs and commands. MariaDB developers continue to develop new features and improve performance to better serve its users.
- a port of the official MariaDB-Image (GitHub).
- based on official distributions Images (Alpine,Ubuntu,Debian)
- and on the package manager of the respective linux distribution (Alpine,Ubuntu,Debian).
- build with Github Actions
docker run --name some-mariadb \
-v $(pwd)/mariadb:/var/lib/mysql:rw \
-p 3306:3306 \
-e MARIADB_ROOT_PASSWORD=my-secret-pw \
-d tobi312/rpi-mariadb:10.11-alpine more see official MariaDB-Images
version: '2.4'
services:
mariadb:
image: tobi312/rpi-mariadb:10.11-alpine
container_name: mariadb
restart: unless-stopped
volumes:
- ./mariadb-data:/var/lib/mysql:rw
environment:
TZ: Europe/Berlin
#MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MARIADB_ROOT_PASSWORD: my-secret-pw
MARIADB_DATABASE: user-database
MARIADB_USER: example-user
MARIADB_PASSWORD: my_cool_secret
ports:
- 3306:3306more see docker-compose.yml-File.
