HUB
Sign inSign up

opcache/docker-mariadb

By opcache

•Updated about 7 years ago

docker-mariadb

Image
0

464

opcache/docker-mariadb repository overview

⁠github.com/tiredofit/docker-mariadb

Build Status Docker Pulls Docker Stars Docker
Layers

⁠Introduction

Dockerfile to build a MariaDB Server⁠ Image. It has the same configuration variables as the Official MySQL Image⁠

  • This Container uses a customized Alpine Linux base⁠ which includes s6 overlay⁠ enabled for PID 1 Init capabilities, zabbix-agent⁠ based on 3.4 compiled for individual container monitoring, Cron also installed along with other tools (bash,curl, less, logrotate, mariadb-client, nano, vim) for easier management. It also supports sending to external SMTP servers..

Changelog⁠

⁠Authors

⁠Table of Contents

⁠Prerequisites

⁠Installation

Automated builds of the image are available on Docker Hub⁠ and is the recommended method of installation.

docker pull tiredofit/mariadb

⁠Quick Start

⁠Configuration

⁠Data-Volumes

The following directories are used for configuration and can be mapped for persistent storage.

DirectoryDescription
/var/lib/mysqlMySQL Data Directory
/etc/mysql/conf.dOptional directory to put .cnf files for additional directives
⁠Environment Variables

Along with the Environment Variables from the Base image⁠, below is the complete list of available options that can be used to customize your installation.

ParameterDescription
CHARACTER_SETSet Default Character set utf8, utf8mb4 (Default utf8mb4)
MYSQL_ROOT_PASSWORDRoot Password for Instance (e.g. password)
MYSQL_DATABASEOptional - Automatically Create Database - Seperate with commas for multiple databases
MYSQL_USEROptional - Automatically Assign Username Priveleges to Database (e.g. mysqluser)
MYSQL_PASSWORDPassword for authentication to above database (e.g. mysqluser)
⁠Networking

The following ports are exposed.

PortDescription
3306MariaDB Server

⁠Maintenance

⁠Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. mariadb) bash

⁠References

Tag summary

Content type

Image

Digest

Size

109.7 MB

Last updated

about 7 years ago

docker pull opcache/docker-mariadb