# git clone git@github.com:ltjsj/lapis-centos.git
# cd lapis-centos && docker build -t ltjsj/lap-centos:tagname .
# docker tag lapis-centos ltjsj/lapis-centos:tagname
# docker push ltjsj/lapis-centos:v1.0
The wrong image of docker after packaging is here
# docker pull ltjsj/lapis-centos:v1.0
# dorcker run -v /i/workProject/lua/project-name:/data/www/program -p 9444:8010 ltjsj/lapis-centos:v1.0
/i represents the i disk under windows, such as the location where the i: , d: , c: \ disk Your project is stored in the windows environment, just mount it out, 9444 is the port of windows, 8010 is the port in the container