Skip to content

Latest commit

 

History

History
29 lines (13 loc) · 1 KB

README.md

File metadata and controls

29 lines (13 loc) · 1 KB

Percona Server Dockerfile

This repository contains Dockerfile of Percona Server 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/percona

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

Usage

Run mysqld-safe

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

Run mysql

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