diff --git a/run b/run index 15efedd..3bbbb42 100644 --- a/run +++ b/run @@ -1,3 +1,3 @@ #!/bin/sh #创建运行容器 -docker run -d --name test -p 3000:3000 -p 2233:2233 -p 5000:5000 test:1.0 +docker run -dit --name test -p 3000:3000 -p 2233:2233 -p 5000:5000 test:1.0 diff --git a/shell/updateRisk b/shell/updateRisk index 233dd36..73615ee 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -30,5 +30,6 @@ function run(){ } run $1 +echo `pwd` rm -f $1.pid echo "脚本运行完毕,删除$1.pid"