Public | Automated Build

Last pushed: 2 years ago
Short Description
ssh-java7-tomcat7-mysql55-elastic2
Full Description

docker-containers

Docker Pull Command
Owner
peterreisz
Source Repository

Comments (2)
peterreisz
a year ago

Hi!

Sorry for the missing description for the image, I've created it for my project only. If you want to use it you should mount a host directory as a data volume for the mysql data folder: -v /docker/my-container/mysql:/var/lib/mysql

Customize the following docker run command, it contains all the features of this image:

docker run --name my-container -v /docker/my-container/mysql:/var/lib/mysql -v /docker/my-container/elastic:/opt/elasticsearch/data -p 10022:22 -p 18080:8080 -p 13306:3306 -p 19200:9200 -p 19300:9300 -e OS_USER=osuser -e OS_PASS=ospass -e DB_USER=dbuser -e DB_PASS=dbpass peterreisz/ssh-java7-tomcat7-mysql55-elastic2

gloryhuan
a year ago

Every time the re run container, Mysql will be removed, modify what configuration can not remove the Mysql data?