MariaDB Dockerfile for trusted automated Docker builds.
Switch branches/tags
Nothing to show
Clone or download
pilwon Merge pull request #5 from DrHofman/master
Update Dockerfile, Added the GRANT OPTION to the root user
Latest commit 8bcf312 Nov 11, 2014
Permalink
Failed to load latest commit information.
Dockerfile Update Dockerfile Nov 9, 2014
LICENSE Init commit. May 10, 2014
README.md Removed persistent directory instruction. Aug 31, 2014

README.md

MariaDB Dockerfile

This repository contains Dockerfile of 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 dockerfile/mariadb

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

Usage

Run mysqld-safe

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

Run mysql

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