digia / docker-mysql

MySQL container for Docker.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-mysql

Mysql container for docker

How to use

  1. Fork the repository

  2. Edit the user password within bootstrap.sh - this is currently set to 'idareyounottochangethis'

  3. Build the docker container

Example:

$ sudo docker build -t digia_mysql github.com/digia/docker-mysql
  1. Run the container
$ sudo docker run -d -p 3306:3306 -v /data/mysql:/var/lib/mysql digia_mysql

NOTE: If you do not use -v to mount a volume within the container you run the risk of loosing all of your MySQL data!!

About

MySQL container for Docker.io


Languages

Language:Shell 100.0%