From 1ce05d5d246fd6732c3b5fe69e382dcc4647fba5 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 02:42:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0openresty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run | 2 +- shell/updateRisk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"