#!/bin/bash
rm -rf ****
# rm -rf ****
# cp ****
docker stop `docker ps -a | grep tomcat | awk '{print $1}'`
docker rm `docker ps -a | grep tomcat | awk '{print $1}'`
docker run
--privileged=true
-v /Users/dxm/software/docker/tomcat/webapps/:/usr/local/tomcat/webapps/
-v /Users/dxm/software/docker/tomcat/conf/server.xml:/usr/local/tomcat/conf/server.xml
-p 8631:8631
-p 8630:8630
-p 8080:8080
--name tomcat7
--env LANG=zh_CN.UTF-8
--env FSG_ENV="offline"
--env FSG_DEPLOY_TYPE="dev-local-01"
--env FSG_GROUP="rim-ris"
--env FSG_APP_NAME="ris-mis"
--env FSG_VERSION="1.0.0"
--env FSG_SERVER_PORT="8634"
--env FSG_IDC_NAME="local"
--env FSG_CLUSTER_NAME="local"
tomcat:7.0.103-jdk8-corretto >> /Users/dxm/software/docker/tomcat/logs/out.log 2>&1 &
tail -f /Users/dxm/software/docker/tomcat/logs/out.log