From a7056dc7c608fe4510ddeed7907bdf19c652b662 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Tue, 19 Mar 2024 11:51:33 +0800 Subject: [PATCH] Update duokai.sh --- duokai.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/duokai.sh b/duokai.sh index c3ea403..ad565e9 100644 --- a/duokai.sh +++ b/duokai.sh @@ -46,13 +46,13 @@ do # 运行容器,并设置重启策略为always container_id=$(docker run -d --restart always -v "$PWD/$storage:/root/.titanedge/storage" --name "titan$i" nezha123/titan-edge:1.1) - echo "Container titan$i started with ID $container_id" + echo "节点 titan$i 已经启动 容器ID $container_id" - sleep 15 + sleep 30 # 进入容器并执行绑定和其他命令 docker exec -it $container_id bash -c "\ titan-edge bind --hash=$id https://api-test1.container1.titannet.io/api/v2/device/binding" done -echo "==============================所有容器均已设置并启动===================================." +echo "==============================所有节点均已设置并启动===================================."