Sign inSign up

cheewai/docker-mariadb

By cheewai

Updated over 6 years ago

MariaDB server in docker with customizable UID/GID

Image
0

807

cheewai/docker-mariadb repository overview

MariaDB server in docker

Uses the official MariaDB docker base image but allows the UID/GID of mysql user in the container to be defined.

Official git repo: https://github.com/docker-library/mariadb

Usage

set-mysql-uid.sh only kicks into action when both the following environment variables are set to valid numeric user and group ID, typically, those of the Linux user running the Docker image, so that files and directories created in /var/lib/mysql (in container) are owned and accessible.

  • MYSQL_UID
  • MYSQL_GID

Be default, this entrypoint script passes control to /usr/local/bin/docker-entrypoint.sh unless environment variable MYSQL_ENTRYPOINT points to another script.

Tag summary

Content type

Image

Digest

Size

108.1 MB

Last updated

over 6 years ago

docker pull cheewai/docker-mariadb