Public | Automated Build

Last pushed: a year ago
Short Description
MariaDB MySQL server
Full Description

PixelHyperlink MariaDB 10.2.6 Server Docker

This image contains base Ubuntu Server 16.04 LTS OS with MariaDB Server 10.2.6, and made the source code freely available under the MIT.

Docker image details:-

Images includes:

  • Ubuntu: Ubuntu Server 16.04 LTS buit using pixelhyperlinkdockers/ubuntu image

Images includes Ubunu Packages:

  • mariadb-server: MariaDB database server



$ mkdir -p data_storage/lib/mysql data_storage/log/mysql data_storage/tmp/mysql

Building Container using image

$ docker build -t pixelhyperlinkdockers/mariadbserver ./
$ docker-compose build

Running the Container

$ docker run --name mariadbserver -ti -p 22:22 -p 3306:3306 -e SSH_USER=$user -e SSH_USER_PASSWORD=$password -e MYSQL_ROOT_PASSWORD=$root_pwd -e MYSQL_DATA_DIR=$path -v ./data_storage/lib/mysql:/var/lib/mysql -v ./data_storage/log/mysql:/var/log/mysql -v ./data_storage/tmp/mysql:/tmp/mysql pixelhyperlinkdockers/mariadbserver
$ docker-compose up -d
Docker Pull Command
Source Repository