Skip to content

renothing/docker-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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