Public Repository

Last pushed: 2 years ago
Short Description
from centurylink/mysql
Full Description

run MySQL

sudo docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=passroot -v /var/docker-data/mysqldb:/var/lib/mysql --name mysqldb moahom/mysql

shell MySQL databases

sudo docker run -it --rm --link mysqldb:mysql moahom/mysql bash -c 'mysql -h $MYSQL_PORT_3306_TCP_ADDR -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'

run mysqlDB map WebApplication

sudo docker run -it --link mysqldb:mysql -d -p 5511:80 -v /var/www:/usr/share/nginx/html moahom/webclient-maria-mongo
Docker Pull Command
Owner
moahom