docker run -tid -v M:\bretwang\dockervolume:/usr/src/ –name server01 -p 8080:8082 bretwang/centos7-jdk1.8-git-forspringboot

docker exec -ti server01 /bin/sh
docker attach server01

nohup java -jar XXXX.jar >> Log.log 2>&1 &

Ctrl P + Q

ps

kill

docker exec -i server01 pkill java

docker exec -i server01 nohup java -jar /usr/src/ws-1.0.0.jar >> M:\bretwang\dockervolume\Log.log 2>&1 &