HUB
Sign inSign up
mysql logo

thimico/mysql

By thimico

•Updated over 8 years ago

mysql docker

Image
0

487

thimico/mysql repository overview

⁠alpine-mysql

a docker image base on alpine with mysql

⁠build image

docker build -t thimico/mysql .
docker run -it --rm -v $(pwd):/app -p 3306:3306 thimico/mysql 

⁠Usage

docker run -it --name mysql -p 3306:3306 -v $(pwd):/app -e MYSQL_DATABASE=admin -e MYSQL_USER=tony -e MYSQL_PASSWORD=dpa\*12d -e MYSQL_ROOT_PASSWORD=111111 thimico/mysql 

It will create a new db, and set mysql root password(default is 111111)

Tag summary
Recent tags
Content type
Image
Digest
Size
57.3 MB
Last updated
over 8 years ago
docker pull thimico/mysql:latest