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}