iamlucianojr / mariadb

MariaDB Dockerfile for trusted automated Docker builds.

Home Page:http://dockerfile.github.io/#/mariadb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MariaDB Dockerfile

This repository contains MariaDB for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull luciano-jr/mariadb

    (alternatively, you can build an image from Dockerfile: docker build -t="luciano-jr/mariadb" github.com/luciano-jr/mariadb)

Usage

Run mysqld-safe

docker run -d --name mysql -p 3306:3306 lucianojr/mariadb

Run mysql

docker run -it --rm --link mysql:mysql lucianojr/mariadb bash -c 'mysql -h $MYSQL_PORT_3306_TCP_ADDR'

About

MariaDB Dockerfile for trusted automated Docker builds.

http://dockerfile.github.io/#/mariadb

License:MIT License