Public Repository

Last pushed: 2 years ago
Short Description
SMS Classification Project
Full Description

1 SQL service:

docker run --name mynewsql -e MYSQL_ROOT_PASSWORD=vagrant -d zcwmyself/sqlserver
docker exec -it mynewsql bash

create a databas and import data,which is under /opt/data/website.sql

mysql -uroot -pvagrant
create database WEBSITE;
mysql -u root -pvagrant WEBSITE <website.sql

then you can leave this container and enter step2

2 docker pull zcwmyself/smsweb

ports mapping 8886 -> 8886
docker run --name myapp -it -p 8886:8886 --link mynewsql -d zcwmyself/smsweb

docker exec -it myapp bash

Docker Pull Command