Skip to content

Docker image with MySQL 5.6.19-1 based on Docker Official Image packaging for MySQL Community Server https://dev.mysql.com/

License

Notifications You must be signed in to change notification settings

sebastianperruolo/docker-mysql-5.6.19-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-mysql-5.6.19-1

Docker image with MySQL 5.6.19-1 based on Docker Official Image packaging for MySQL Community Server https://dev.mysql.com/

Build image

Download this project and go to the directory on a terminal, then run:

docker build -t mysql5619:1 .

Create container

First we need to create the directory where the DB files are going to be stored:

sudo mkdir /var/lib/mysql5619

Then we need to run the following command in order to create the container:

docker run --name mysql5619i -v /var/lib/mysql5619:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql5619:1

NOTE: you could change the container's name, the root password, or the path for the DB files.

About

Docker image with MySQL 5.6.19-1 based on Docker Official Image packaging for MySQL Community Server https://dev.mysql.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages