Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 1.04 KB

README.md

File metadata and controls

32 lines (16 loc) · 1.04 KB

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