Sign inSign up

gilsonsouzah/alpine-mysql-tomcat

By gilsonsouzah

Updated over 8 years ago

a docker image base on alpine with mysql and tomcat

Image
0

145

gilsonsouzah/alpine-mysql-tomcat repository overview

alpine-mysql-tomcat

alpine-mysql-tomcat

alpine-mysql

a docker image base on alpine with mysql

build image

docker build -t wangxian/alpine-mysql .
docker run -it --rm -v $(pwd):/app -p 3306:3306 wangxian/alpine-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 wangxian/alpine-mysql

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

You can copy an /dump.sql file into container to initial populate mysql.

Tag summary

Content type

Image

Digest

Size

306.1 MB

Last updated

over 8 years ago

docker pull gilsonsouzah/alpine-mysql-tomcat