diff --git a/install.sh b/install.sh index 7d04b2a..254aa7e 100644 --- a/install.sh +++ b/install.sh @@ -6,6 +6,8 @@ restart_docker() { read -p "容器未启动,是否启动容器?(Y/N): " choice case "$choice" in Y|y) + docker-compose -f ./docker-compose.yml up -d + return ;; *) echo "已取消启动"