- docker: version 1.5
- Clone project
- Launch build: "docker build -t yougos666/docker-mysql ."
docker run -d -p 3306:3306 -v ./path/to/database/dump/files:/root/database_dump:rw yougos666/docker-mysql
You can connect to mysql with:
- login: admin
- password:admin
- dabatase_name : file's name in /path/to/database/dump/files
docker run -d -p 3306:3306 -v ./path/to/database/dump/files:/root/database_dump:rw yougos666/docker-mysql --env user=value password=value