优化逻辑
This commit is contained in:
parent
3ef5c64c30
commit
00cdf70b0b
@ -6,6 +6,8 @@ restart_docker() {
|
|||||||
read -p "容器未启动,是否启动容器?(Y/N): " choice
|
read -p "容器未启动,是否启动容器?(Y/N): " choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
Y|y)
|
Y|y)
|
||||||
|
docker-compose -f ./docker-compose.yml up -d
|
||||||
|
return
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "已取消启动"
|
echo "已取消启动"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user