From 09516544a9ef5e6009e7bb1316669395003c77f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=B8=83=E5=B9=B4=E5=A4=8F?= <2098833867@qq.com> Date: Fri, 26 Apr 2024 00:33:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=89=93=E5=8D=B0=E5=87=BA?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker_shell.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker_shell.sh b/docker_shell.sh index 5fd72d5..1da15f3 100644 --- a/docker_shell.sh +++ b/docker_shell.sh @@ -1,7 +1,8 @@ #!/usr/bin/env bash declare name='lolosia-backend' - +declare user=$(users) +echo "当前用户为:${user}" echo '停止容器:' ${name} docker stop ${name}