renothing / docker-mysql

percona server for docker based on ubuntu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Percona Server Dockerfile

This repository contains Dockerfile of Percona Server for Docker's automated build.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull renothing/mysql:tag

    (alternatively, you can build an image from Dockerfile: docker build -t="renothing/mysql:tag" github.com/renothing/docker-mysql) default innodb_buffer_pool_size=4g, please specify it before running default root password is "admin" if you didn't specify, please change it letter

Usage

Run mysqld-safe

docker run -dit --env POOLSIZE=4g --env PASS=yourrootpassword --name mysql -p 3306:3306 renothing/mysql

Run mysql

docker run -it --rm --link mysql:mysql renothing/mysql mysql -uroot -p$password

About

percona server for docker based on ubuntu

License:MIT License


Languages

Language:Shell 54.4%Language:Dockerfile 45.6%