Skip to content

jbergstroem/mariadb-alpine

Repository files navigation


mariadb-alpine

About | Features | Usage | Configuration | Testing | Benchmarks


A tiny MariaDB container

The goal of this project is to provide a tiny, high quality and fast starting container for MariaDB. It is built on the excellent, container-friendly Linux distribution Alpine Linux.

The project intentionally trims edges to achieve arguably the smallest and fastest starting MariaDB. Should you run into problems, feel free to open an issue.

Licensed under MIT.

Features

  • Lightning fast startup: everything is built with performance in mind
  • Multi-arch: currently supports amd64, arm/v6, arm/v7, arm64, 386, s390x and ppc64le
  • Test suite: Each PR is tested to make sure that things stay working
  • No bin-logging: Most deployments don't use this by default
  • Supports Docker secrets
  • Conveniently skip InnoDB: Gain a few seconds on startup
  • Reduce default settings for InnoDB: production deployments should have their on my.cnf
  • CTRL+C shuts down a running container in interactive mode
  • Bundles a MariaDB client: docker run -it --entrypoint mariadb jbergstoem/mariadb-alpine

Quickstart

$ docker run -it --rm -p 3306:3306 \
    --name=mariadb \
    -e SKIP_INNODB=1 \
    jbergstroem/mariadb-alpine

Next steps