10.6-alpine
(Dockerfile) (on AlpineLinux 3.17)10.6-ubuntu
(Dockerfile) (on Ubuntu 22.04 LTS (Jammy))10.11-alpine
(Dockerfile) (on AlpineLinux 3.18)10.11-debian
(Dockerfile) (on Debian 12 (bookworm))
Notes:
For amd64 and arm64 it is recommended to use the official images based on Ubuntu.
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.6-alpine
more see official MariaDB-Images
version: '2.4'
services:
mariadb:
image: tobi312/rpi-mariadb:10.6-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:3306
more see docker-compose.yml-File.