Quantcast
Channel: s9s
Viewing all articles
Browse latest Browse all 8

Docker file/image to deploy Percona XtraDB Cluster 5.6 for dev/tests.

$
0
0

Quickstart

$ git clone https://github.com/alyu/docker.git
$ cd docker/percona-xtradb-5.6/centos
$ ./build.sh
$ ./start-servers.sh 3
$ ./bootstrap-cluster.sh
$ ssh root@172.17.0.2 (root123)
$ mysql -uroot -proot123 -e "show status like '%wsrep%'"

Percona XtraDB Cluster 5.6 Dockerfile

# Percona XtraDB Cluster 5.6
#
# VERSION 1.0
# DOCKER-VERSION 0.81
#
# tag: latest
FROM centos:latest
MAINTAINER Alex Yu <alex@alexyu.se>

RUN yum -y update
RUN echo 'root:root123' | chpasswd
RUN yum -y install openssh-server openssh-clients which
# unsafe

Tags: 


Viewing all articles
Browse latest Browse all 8

Trending Articles