Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/goodrain/rainbond-console i…
Browse files Browse the repository at this point in the history
…nto 112903
  • Loading branch information
ZhangSetSail committed Nov 29, 2024
2 parents 44210a7 + f1a01cd commit e468e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/install-rainbond.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ if ! (docker info &>/dev/null); then
fi
fi
else
if docker ps -a | grep rainbond 2>&1 >/dev/null; then
if docker ps -a --filter "name=^rainbond$" | grep -q "rainbond"; then
if [ "$LANG" == "zh_CN.UTF-8" ]; then
send_error "rainbond 容器已存在.\n\t- 确保 rainbond 是否在运行.\n\t- 尝试执行 'docker start rainbond' 命令启动.\n\t- 或者你可以选择删除该容器 'docker rm -f rainbond'"
exit 1
Expand Down

0 comments on commit e468e7d

Please sign in to comment.