Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 3.25 KB

README.md

File metadata and controls

67 lines (51 loc) · 3.25 KB

MariaDB (MySQL fork) - Docker Image for amd64, arm64, arm

Supported tags and respective Dockerfile links

Notes:
For amd64 and arm64 it is recommended to use the official images based on Ubuntu.

What is MariaDB?

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.

wikipedia.org/wiki/MariaDB

logo

About these images:

How to use these images:

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

Docker-Compose

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.

This Image on